opening a serial port at a given baudrate. How?
warlock at eskimo.com
Sat Apr 8 00:50:36 EDT 2000
On Wed, 05 Apr 2000 09:10:52 -0600,
Mitch Chapman, in the persona of <chapman at bioreason.com>,
brought forth the following words...:
>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:
>Search for "# Set the baud rate."
Thanks, this is helpful :)
Anarchist, pagan and proud of it
Linux, because life's too short for a buggy OS.
More information about the Python-list