Hello all, I have a list of values that I want to send from Processing to Arduino. The values would be formated like this:
"x:y" where x = port number on the Arduino Mega y = 1 or 0 (on or off - high or low) Example: "3:0,4:1,5:0" all the way to "52:1"
This list would be sent from processing at a speed of 15 frames per second.
I'm quite lost on the best way to read the values in Arduino. Actually I'm not even sure if this list would be the best solution to this. Any advice would be greatly appreciated.
Thanks in advance. Kind regards, LG