Now that we know how buttons work and how to wire one up to the Pi, let's add two buttons to our RGB LED project.
Adding buttons to our RGB LED project
Wiring everything up
Before we wire up our buttons, we're going to need to do some housekeeping on our current wiring setup.
Using the power and ground side rails
From here on, we'll be needing more access to power and GND pins, and we don't want a ton of really long wires criss-crossing our projects. So the first thing we'll do is a little hardware refactoring.Â
- Take the RGB LED ground off...