Chapter 17

Lots of Multicolored LEDs

IN THIS CHAPTER

check Finding out how to use an RGB LED

check Discovering the APA102C integrated LED and driver

check Writing a class driver for the APA102C

check Making a Rainbow Invaders game

check Designing a Keepy Uppy football game

check Discovering more LED strip shapes

check Creating a wearable colorful broach

Chapter 16 shows you how to control LEDs in terms of both patterns and sequences. Now we’re going to get colorful and look at multicolored LEDs. We use different colors of LED in Chapter 16’s Pedestrian Crossing project, where each LED has its own color. Another type of LED contains three different colored LEDs in the same package. This type is known as an RGB LED because the three colors are red, green, and blue.

RGB LEDs come in three basic forms: common anode, common cathode, ...

Get Raspberry Pi For Dummies, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.