Processing and Arduino Uno RGB LED trouble.

(deleted)

what is wrong?

are we suppose to read your mind?

Please remove unnecessary blank lines from your code before posting to the forum. One or two to separate code into logical sections is fine but large spaces for no reason or random blank lines just make for more scrolling when we're trying to read your code.

Please always do an Auto Format (Tools > Auto Format in the Arduino IDE or Ctrl + B in the Arduino Web Editor) on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read.


It looks like you forgot the part of your Arduino sketch where it reads the incoming serial data into the readString variable. Maybe you got mixed up between the function readString() and your variable named readString:
https://www.arduino.cc/reference/en/language/functions/communication/serial/readstring/