opening a serial port at a given baudrate. How?
Mitch Chapman
chapman at bioreason.com
Wed Apr 5 11:10:52 EDT 2000
David Arnold wrote:
>
> -->"Jim" == Jim Richardson <warlock at eskimo.com> writes:
>
> Jim> I have been using open('/dev/ttyS0','r+') but need to control
> Jim> baud rate. fcntl.ioctl() will do this?
>
> as someone else pointed out (sorry, lost the mail), the termios module
> is the go for setting baud rates, parity, etc.
Here's an old answer, courtesy of www.deja.com:
http://www.deja.com/[ST_rn=ps]/getdoc.xp?AN=309748544&fmt=text
Search for "# Set the baud rate."
--
Mitch Chapman
chapman at bioreason.com
More information about the Python-list
mailing list