Multiplexed color LEDs

The next example in this chapter demonstrates that some seemingly simple hardware can produce some impressive results if controlled with software. For this, we will go back to using RGB LEDs. We will use five RGB LEDs that are wired so that we only need to use eight GPIO pins to control their red, green, and blue elements using a method called hardware multiplexing (see the Hardware multiplexing subsection in the There's more... section of this recipe).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.80.34