I'm trying to make the C++ tutorial on the playground (http://sglez.org/2008/08/05/interfacing-arduino-with-c-and-libserial/) work,but i have a small problem: the program needs the serial monitor to be open to receive data,or at least a second instance of the program running and only "listening" for incoming data..
Any ideas?
Also you can try Firmata, which is basically emulating the serial connection from the arduino software. It's just a way for the computer to talk to the arduino.
The thing is,i get no errors at all,the code is fine..i only have to keep the monitor open to actually read the data from within the program. If i use the program on its own,it doesn't read anything! =(