Hello,
I'm working on a project using the arduino board that connects to my computer via USB. Anyway, I opened the "file" (FYI using linux) for the board using the fopen call and I'm wonder if there's a way to check if there's data ready to read in.
Also I know that the appropriate way to read from a serial port is to use the open() call and setup the baud rate, but is fopen() still good to use? So far I'm able to read in data accurately (when there is data sent).