Error on my Processing GUI code for Arduino , I need some help

@fdinumario,

If you are using your code as is…

On Arduino terminate data string with a single:
Serial.print('!');

Processing:
myPort.readStringUntil('!');

Look up all the references and understand why your code was not working and why the above works.

I did get this working…

:)