Re: RS232

From: Daniel Webb (webb@robust.colorado.edu)
Date: Thu Mar 28 2002 - 07:51:11 CET


> Method 1)
> -----------
>
> It is only matter to open the special device /dev/ttyS0 (COM1)
> or /dev/ttyS1 (COM2):
>
> int fd;
> fd = open("/dev/ttyS0",O_RDWR)

  For this method, do you have to set the serial port up first using
setserial? What determines the baud rate?

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:21 CET