Wiring (Common Anode LED)

Wire up the breadboard using the header leads as shown below.
Push the LED leads into the breadboard, with the longest (common positive) lead on the second row of the breadboard. It does not matter which way around the resistors go.

The common anode of the LED is connected to 3.3V. The three outputs to control the brightness of the red, green and blue channels are connected to sockets P8_13, P8_19 and P9_14 of the BBB.

The pins are numbered left to right, 1, 2 then on the next row down 3,4 etc. You can also use the pin P9_16 for PWM output.

You can find out about all the pins available on the P8 and P9 connecters down each side of the BBB here: http://stuffwemade.net/hwio/beaglebone-pin-reference/
This guide was first published on Jul 09, 2013. It was last updated on Jul 09, 2013. This page (Wiring (Common Anode LED)) was last updated on May 22, 2019.