How to control a RGB with the Serialmonitor

Hi Guys

I'm new here

I have a question: I will control the color of a RGB with my Serialmonitor. For that i will take a readString.

But i've problems with the string could someone pls help me My String looks like the following:

String stringcolor[6]={(255,0,0),(0, 255, 0),(0, 0, 255),(255, 255, 255),(170, 0, 255),(255,255,0),}; //Red,Green,Blue,White,Purple,yellow

pls help me thanks

duplicate post http://forum.arduino.cc/index.php?topic=404818.0

Please do not cross-post. This wastes time and resources as people attempt to answer your question on multiple threads.

Thread locked.

  • Moderator