Learn how to use RoboBlockly's "LArduino" commands to control an RGB LED module plugged in to an Arduino board that is connected to a Linkbot robot.
|LArduino LED 1: Basic BlinkHR||LArduino LED 2: Multiple Blinks Using LoopHR||LArduino LED 3: Multiple Blinks Using digitalWriteHighLowHR||LArduino LED 4: Blinking Multiple ColorsHR||LArduino LED 5: Interleaved Color Blinking using LoopHR||LArduino LED 6: Interleaved Color Blinking using NB CodeHR|
RoboBlockly at www.roboblockly.com (free)
The R, G, and B pins on the LED module plug into digital pins 13, 12, and 11, respectively, on the Arduino, as shown in the first image below. The LED - (ground) pin plugs into the GND pin next to pin 13. The image also shows how the green, red, and black wires from the white cable connector plug into the A5, A4, and GND pins, respectively. The other end of the white cable plugs into the top of the Linkbot (as shown in the second image below, without the LED module installed).