Re: RS232

From: Daniel Webb ([email protected])
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: [email protected]
For additional commands, e-mail: [email protected]



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