IN THIS CHAPTER WE LOOK AT some more projects based on lights and displays. In particular, we look at how to use multicolor LEDs, seven-segment LEDs, LED matrix displays, and LCD panels.
This project uses a high-brightness, three-color LED in combination with a rotary encoder. Turning the rotary encoder changes the color displayed by the LED.
The LED lamp is interesting because it has three LED lights in one four-pin package. The LED has a common-cathode arrangement, meaning that the negative connections of all three LEDs come out of one pin.
If you cannot find a four-pin RGB (red, green, blue) LED, you can use a six-pin device instead. Simply connect the separate anodes together, referring ...