I am trying to get Processing to talk to my Arduino ADK (Mega) under GNU/Linux. Serial on the Arduino seems to be working correctly. ASCIITable and PhysicalPixel work from the Arduino serial monitor and stty/screen.
When working with Processing, the board is detected and data is sent and received but it does not seem to be saying the correct thing.
When running the a read myPort.read() on Processing with ASCIITable on Arduino I just get a load of numbers printed. When I do a myPort.write('H') with the PhysicalPixel example, data is sent, but it does not get read as an H by the Arduino.
The baud is the same in both code. All works fine on Windows XP