psSerial: how to write a single byte value to the serial port?
Grant Edwards
grante at visi.com
Wed Nov 17 22:44:57 EST 2004
More information about the Python-list mailing list
Wed Nov 17 22:44:57 EST 2004
- Previous message (by thread): psSerial: how to write a single byte value to the serial port?
- Next message (by thread): psSerial: how to write a single byte value to the serial port?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2004-11-18, SoftwareTester <mr_ravi_patil at yahoo.com> wrote: >> >>> type(byte) >> <type 'str'> >> >> Its a string as well. > > I am concerned because I do not know the effect of writing null > character to the device connected to the serial byte. I don't understand what you're concerned about. Python doesn't use null-delimited strings. > I wish to send a single byte to the serial port and nothing more. In Python, a "single byte" is just a string of length one. -- Grant Edwards grante Yow! Eisenhower!! Your at mimeograph machine upsets visi.com my stomach!!
- Previous message (by thread): psSerial: how to write a single byte value to the serial port?
- Next message (by thread): psSerial: how to write a single byte value to the serial port?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list