opening a serial port at a given baudrate. How?
warlock at eskimo.com
Wed Apr 5 04:55:51 CEST 2000
On 04 Apr 2000 22:20:25 +0300,
Erno Kuusela, in the persona of <erno at iki.fi>,
brought forth the following words...:
>>>>>> "davida" == David Arnold <arnold at dstc.edu.au> writes:
> davida> on unix (including linux), just open the device special
> davida> file corresponding to the serial port of interest
> davida> (ie. /dev/ttyS0) and you can then control it using
> davida> fcntl.ioctl() function and otherwise read from and write
> davida> to it like a normal file object.
>i believe the termios module is for ftwiddling with serial
>ports on unix. see for example ftp://ftp.tummy.com/pub/tummy/cid/
>for example code.
Anarchist, pagan and proud of it
Linux, because life's too short for a buggy OS.
More information about the Python-list