Chapter 6. LEDs
Controlling light-emitting diodes (LEDs) is likely to be near the top of any maker’s to-do list. There is a bewildering array of different types of LEDs, from simple LEDs, through to high-power, infrared, and ultraviolet devices.
LEDs (Figure 6-1) vary in their current requirements, and some will work just fine from a digital output, while others will need a transistor or other circuitry to control them.
By regular LEDs, I mean those small colorful devices that often come in a 5mm diameter (sometimes 3mm or 10mm) and require a modest current to make them light, so that they can ...