I’ve been struggling with 2 way communication between Arduino and Processing. Currently, they’re both reading and writing to the serial port, but I’ve found that unreliable and ugly. So, I’m trying to use Firmata, figuring that if I can move everything over to Processing, my program becomes more stable.
The problem is, I can’t get Firmata running properly.
I’m got an Arduino NG.
I’m running Processing 1.1
I’m running Arduino 0018
I load the standardFirmata example on to my Arduino board.
I have the following code in processing:
int ledPin = 13;
arduino = new Arduino(this, Arduino.list(), 57600);
I run the processing code, and the LED in pin 13 does nothing. If I run the serial monitor in the Arduino software while I’m dong this, I can see the serial port going bananas, so data is definitely moving, but the LED stays dark.
I’ve tried running OldStandardFirmata, no difference.