Re: [PythonCE] Using serial ports

2009-05-31 Thread David McNab
On Sun, 2009-05-31 at 23:08 +1200, David McNab wrote: > Also, I tried the 'ceserial.py' module which has popped up on some > discussions, but it crashes in its Serial.open() method with a most > unhelpful exception string '50'. More info on that: Seems that Serial.open() gets a bad return code wh

[PythonCE] Using serial ports

2009-05-31 Thread David McNab
Hi, I'm able to open COM1: serial port with the usual file() function, and write to it with the normal write() method. But how do I set the speed and other line parameters? If I try to import the 'tty' module it complains that there's no 'termios' module. Also, I tried the 'ceserial.py' module