GoForSmoke:
How about putting a few print statements in the Arduino program and have your processing expect them and echo them perhaps to console? Then you'll know what's going on.BTW, by processing do you mean a PC program like you would write in C++, Java, Perl or Basic even?
Or is there a language called Processing? And if so, what's the draw from it, the good parts?
I will try it later, but my Arduino seems never detect the serial data bcoz I tried to add LED ON statement right inside this condition
if (Serial.available()) {
val = Serial.read(); // read one byte
}
It never jump into this condition, but I see the RX LED light keep flashing......