opening a serial port at a given baudrate. How?
Jim Richardson
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:
>http://www.deja.com/[ST_rn=ps]/getdoc.xp?AN=309748544&fmt=text
>
>Search for "# Set the baud rate."
>
>--
Thanks, this is helpful :)
--
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