Chapter 7. Light Up Guessing Game
In this chapter, you’ll be learning about
- Simplifying and improving your code with more thoughtful design and use of functions
- Building a circuit to control a special LED (light bulb) that can make and combine red, green, and blue light
- Adding together colors of light to create new colors
- Making your Pi come alive by having it respond using different colored light
Your Raspberry Pi has a unique ability to interact with the world around it. In the last chapter, you made lights blink based on a programmed pattern. Nice, but that isn’t truly interactive, because the Pi always blinks a pattern that you program it to do. In this chapter, let’s see if you can create an interactive project that responds to you ...
Get Hello Raspberry Pi! now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.