nik <[EMAIL PROTECTED]> wrote:
>
>I need to read a 9 byte response from a device on the serial port.
>From reading the pySerial documentation it appears that I can only
>read in characters at a time.

Yes, but it is 8-bit characters.  That is, characters == bytes in this
instance.


>If I do: serialport.read(4)
>I would get 8 bytes,

No.  You would get 4 bytes.  Do you see documentation to the contrary?
-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to