Hi @Rayenblue, I can see that you started with the Processing example ‘SimpleRead’. This does work, I’ve just tried it, but there are ways that it can be messed up. You’ve added some println to see if the Arduino is working. There’s a conflict here because those prints are also going to Processing and confusing things. You want only the 1 and 0 to go to Processing. Once you’ve seen the Ard prog is working (you’re using the serial monitor?), please remove them all. (We’ll talk about how to have both later.)
Are you sure your Processing is connecting to the port? Don’t have the Serial Monitor running when you start your Processing sketch. Do you have the com port name correct? Suggest you use this line
myPort = new Serial(this, “COM13”, 9600);
instead of the serial.list[] method. Change the port name to same as in the Ard IDE.
See if those 2 fix it, let us know…