Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Raspberry Pi LESSON 29: Using GPIO pins as Inputs and Reading them in Python

128.3K views on YouTube

This lesson shows you how to do a digital read from the Raspberry Pi GPIO pins. We give some simple example using a circuit with push buttons. We show how to activate the internal pullup resistors.

Get code and see full details of the lesson at:
http://www.toptechboy.com/tutorial/raspberry-pi-lesson-29-configuring-gpio-pins-as-inputs/ –
–
*LEGAL DISCLAIMER:*
The code, hardware setups, circuit diagrams, mathematical calculations, and technical methods provided in this video are strictly for educational and demonstration purposes.

All math, code, and instructional content are provided “AS IS”, without warranty of any kind, express or implied, including but not limited to guarantees of accuracy, completeness, or fitness for a specific purpose.

All hardware assembly, circuit wiring, and software execution are performed entirely at your own risk. The creator assumes no liability for equipment damage, component failure, data loss, or personal injury resulting from the use or implementation of any information or files presented in this content.