Use the Arduino Processing Interface

Hi,

Thanks for replying.

My Arduino code looks just like yours, except that use float values and only one comma to separate the data.

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.print( (float)analogRead(0) );          // A0
  Serial.print(",");
 Serial.println( (float)analogRead(1) );          // A1
  
  delay(100);                            // every second
}

The Processing code is similar too and i can also get the Arduino values on the console.
Now I would like to graph them on Processing as on Arduino’s serial plotter