In this tutorial, you will learn how to control the color of an RGB LED using a BeagleBone Black (BBB).
Because the BBB runs Linux, there are many ways in which it can be programmed. In this tutorial we show how to control the power output of a GPIO pin and hence control the color of an RGB LED using Python.
This guide was first published on Jul 09, 2013. It was last
updated on Oct 17, 2018.
This page (Overview) was last updated on May 04, 2015.
The tutorial uses a technique called PWM (Pulse WIdth Modulation) to vary the brightness of each color channel between 0 and 100.