Detecting a button press through GPIO using Raspberry pi

If you want to build electronic devices, at some point you’re going to need to read data through GPIO. In this exercise, we’re going to read the value of a push button on a breadboard. Set up the circuit as shown in the pictures on the right. Note that one end of the 4.7kOhm resistor …

Detecting a button press through GPIO using Raspberry pi Read More »