1.3k
Another feature of the Arduino Esplora is a built in RGB LED, again its fairly simple to use this using the writeRGB function.
You can see the RGB led in the layout diagram below
Code
[codesyntax lang=”cpp”]
#include <Esplora.h> void setup() { } void loop() { //RGB led example //Esplora.writeRGB(red, green, blue); Esplora.writeRGB(0, 0, 255); delay(1000); Esplora.writeRGB(0, 255, 0); delay(1000); Esplora.writeRGB(255, 0, 0); delay(1000); }
[/codesyntax]
Links
Esplora Joystick + Sensor + LED Module Kit Board for Arduino – Deep Blue – $62.13