Hi,
I am experimenting with serial communication between Processing and an AVR microcontroller (ATMEGA328). I am on Windows XP and have successfully used Processing 1.5 and 1.5.1 to send and receive serial data to/from the microcontroller.
Now I have downloaded the 32 bit Processing 2.0b7 code. I specifically wanted the 2.0 Processing code because I am interested in exporting my application via the command line (actually from a Tcl script), and command line export is not available until version 2.0 and later.
On 2.0b7, I do the exact same thing as I was doing in 1.5.1and the bufferUntil() never triggers a serialEvent. To track it down, I went with the simplest example script from Tom Igoe as detailed here
http://processing.org/reference/libraries/serial/Serial.html. The program never seems to receive the line feed from the microcontroller. I do see evidence of the serial link sending the data because I have a USB-Serial converter with a RX/TX LED and I see it flash.
Again, I ran the exact same code in Processing 1.5.1, and it works fine.
Does anyone have any suggestions for getting this to work in 2.0b7?