Processing 1.5.1 won't recognize my Arduino Uno at ttyACM0 but the serial monitor with the Arduino IDE will communicate with the Uno via ttyACM0.
In Processing when I run the following with the Uno connected to my computer, nothing is printed by the Serial.list statement. I am using Ubuntu 11.04.
import processing.serial.*;
// The serial port
Serial myPort;
// List all the available serial ports
println("ports");
println(Serial.list());
Additionally when I connect my Ardweeny (thru USB/FTDI), Processing will recognize the Ardweeny at ttyUSB0.
The following Processing code used with StandardFirmata_2_2_for_0_3 loaded on the UNO (Arduino 022) will not light the LED I have between pin 11 and GND.
When I run the processing code, LED stops blinking, the available ports are printed and the RX LED lights every 2 seconds.
If I load a sketch to accomplish the same thing directly to the UNO, the LED will light.
I would appreciate help with making this work thru Firmata.
import processing.serial.*;
import cc.arduino.*;
Arduino arduino;
void setup() {
println(Arduino.list());
arduino = new Arduino(this, Arduino.list()[1], 115200);