Skip navigation

Python programs for input

Python programs for input: Raspberry Pi: GPIO
Python programs for input: Raspberry Pi: GPIO

This video steps through an example of a python program capable of reading a GPIO pin configured for input. The program shows how to set up the pin using RPi.GPIO for input, then shows a loop for reading an input and displaying the result. A second piece of python code is then shown to demonstrated the use of interrupts to read a GPIO pin.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 34m
Show More Show Less
Skills covered in this course
Developer Programming Languages Raspberry Pi

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now