[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

C/C++ code to read from /dev/ttyS0



Hi there.

I'm writing a small program to read single characters/short strings from a serial device on my com port. But I can't get it to work. It might be a baud rate problem.

I can send strings from another tty to my ttyS0 through a null modem cable, and it works fine.

If anyone know of a link to some code to handle that problem, I sure could use it. :-)

Thanks in advance.

Michael, Denmark.



Reply to: