opening a serial port at a given baudrate. How?
paulb at infercor.no
Mon Apr 10 08:28:22 EDT 2000
Jim Richardson wrote:
> I have been using open('/dev/ttyS0','r+')
> but need to control baud rate. fcntl.ioctl() will do this?
> I can't seem to find (on machine, haven't checked on-line yet
> how to do this, but thanks for the pointer! Knowing where to look is at
> least half the battle.
Try the Linux Documentation Project at http://www.linuxdoc.org - the
Serial-HOWTO is probably what you want. You may have this document somewhere in
/usr/doc, depending on your Linux distribution.
More information about the Python-list