Using serial ports

David McNab <[email protected]> Sun, 31 May 2009 23:08:31 +1200
Newsgroups gmane.comp.python.windows-ce
Message-ID <1243768111.20583.2.camel@rebirth>
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 which has popped up on some
discussions, but it crashes in its Serial.open() method with a most
unhelpful exception string '50'.

What's the best way to go about using serial ports in pythonce?

Thanks in advance for your help

Cheers
David