Hello,
The code works:

Processing must be connected to the Arduino serial port that is sending data; you will have to modify code for your COM port.
Do some research.
Hello,
The code works:

Processing must be connected to the Arduino serial port that is sending data; you will have to modify code for your COM port.
Do some research.