In This Chapter
Driving LEDs directly from the Raspberry Pi
Using all the GPIO outputs on a Raspberry Pi Model B+
Making an addictive game of stomping out bugs
Discovering modern multicolor LEDs with built-in electronics
Converting the bugs game to color
No matter how complex a project is, the first step is to get an LED flashing. That flashing LED confirms that so much of your system is operating, and then you have a platform to build on.
In this chapter, we show you how you can control LEDs from your Raspberry Pi. There has recently been a big advance for people who want to use a lot of LEDs in their projects: LEDs with built-in controllers, allowing you to easily create colorful projects. We show you how to take advantage of these LEDs in your projects.
The light emitting diode (LED) was first made available in the mid-1960s and emitted invisible infrared light. An application for LEDs was quickly found in TV remote controls. ...