> ser.config(9600, 8, 'N', 1, False, False); >From the documentation:
procedure Config(baud, bits: integer; parity: char; stop: integer; softflow, hardflow: boolean); virtual; Reconfigure communication parameters on the fly. You must be connected to port before! parameters: baud Define connection speed. Baud rate can be from 50 to 4000000 bits per second. (it depends on your hardware!) bits Number of bits in communication. parity Define communication parity (N - None, O - Odd, E - Even, M - Mark or S - Space). stop Define number of stopbits. Use constants SB1, SB1andHalf and SB2. softflow Enable XON/XOFF handshake. hardflow Enable CTS/RTS handshake. Look at stopbits, should be SB1, SB1andHalf or SB2. So use: ser.config(9600, 8, 'N', SB1, False, False); ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public