Is a USBtty (USB serial port) treated the same as tty (normal serial port) in C?
I'm currently looking to have a C program communicate with an Arduino board. The Arduino board shows up as "USBtty0" (or any other USBtty in general). I have been trying to figure out how to communicate with this, but all the C programming stuff I've found so far only talks about standard serial ports (tty). Can I treat a USB serial port (USBtty) like a normal serial port (tty) in my C program?
Thanks |
Yes, USB serial adapters are programmed just like the real thing.
|
All times are GMT -5. The time now is 10:38 PM. |