I am trying to setup a basic comm interface in C. I am using Kubuntu.
I am using some of the code from http://todbot.com/blog/2006/12/06/arduino-serial-c-code-to-talk-to-arduino/
The port is setup correctly(returns a 3) but I can’t not get it to read. It just returns a -1 from the read. I know that the arduino is working correctly because the arduino monitor and cutecom are reading the string.