We will now connect all of the components to match what is shown below.
This design uses a Common Anode LRD. You can use a Common Cathode LED, but you will need to change the Arduino code accordingly.
- Connect the 3V pin to the + side of the breadboard.
- The longest pin of the LED needs to connect with the 3V pin.
- Pin #2 will connect to the Red pin on the LED.
- The Blue pin sould connect with pin #4.
- Connect pin #5 to the Green pin.
This can be powered through the FTDI cable, but you may want to add a battery or other power supply by connecting it to the GND and VBat pins.
Now it's time to code.
Page last edited September 30, 2015
Text editor powered by tinymce.