opening a serial port at a given baudrate. How?
Jim Richardson
warlock at eskimo.com
Tue Apr 4 22:55:51 EDT 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.
Thanks
--
Jim Richardson
Anarchist, pagan and proud of it
WWW.eskimo.com/~warlock
Linux, because life's too short for a buggy OS.
More information about the Python-list
mailing list