X-Git-Url: http://git.piffa.net/web?a=blobdiff_plain;f=RGB_LED%2Frgb_3_ReadASCIIString%2Frgb_3_ReadASCIIString.ino;h=13cf2b850df49ff712ccfb5b2ddf2686478b0b0a;hb=0b8d3244d8d0635c329b8dc3c32743d6f6cd498e;hp=d1c2a3b13cf7d20a90bb76649997cd5ba55b2d3a;hpb=d19cffa69bc2d538de8b73f854f5c3163e231f21;p=sketchbook_andrea diff --git a/RGB_LED/rgb_3_ReadASCIIString/rgb_3_ReadASCIIString.ino b/RGB_LED/rgb_3_ReadASCIIString/rgb_3_ReadASCIIString.ino index d1c2a3b..13cf2b8 100644 --- a/RGB_LED/rgb_3_ReadASCIIString/rgb_3_ReadASCIIString.ino +++ b/RGB_LED/rgb_3_ReadASCIIString/rgb_3_ReadASCIIString.ino @@ -7,17 +7,15 @@ It looks for an ASCII string of comma-separated values. It parses them into ints, and uses those to fade an RGB LED. - Circuit: Common-anode RGB LED wired like so: - * Red cathode: digital pin 3 - * Green cathode: digital pin 5 - * blue cathode: digital pin 6 - * anode: +5V + Once you have programmed the Arduino, open your Serial minitor. Make sure you have chosen to send a newline character when sending a message. Enter values between 0-255 for the lights in the following format : Red,Green,Blue. + Seriously: did you set the Newline setting in the monitor? + Once you have sent the values to the Arduino, the attached LED will turn the color you specified,