i'm trying to get a simple processing sketch up and based on on what i read on the arduino page [the one about processing and arduino]
but it's not working and things are not explained. I really don't think there should be any code inside
check it:
import processing.serial.*;
import cc.arduino.*;
Arduino arduino;
void setup(){
size(400, 400);
arduino = new Arduino(this, Arduino.list()[0], 57600);
}
void draw(){
background(arduino.analogRead(0));
}
i really feel this page,
http://www.arduino.cc/playground/Interfacing/Processing poorly explains what the library downloaded can possibly do for me,
for instance, it doesn't explain how this works, only that it does:
arduino = new Arduino(this, Arduino.list()[0], 57600);
any help would be appreciated. if there's a well explained guide to the arduino-processing library i'd appreciate that as well.