Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Raspberry Pi - Creating a Python Class and Library for Reading a Keypad

Paul McWhorter via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to create a Python class and library for reading a 16-button keypad with a Raspberry Pi in this comprehensive tutorial. Discover the keypad's functionality and its applications for remote user input. Follow along as the instructor guides you through setting up the hardware, creating a Python class to interface with the keypad, and developing a library for easy implementation. Gain hands-on experience with GPIO pins, variables, and string manipulation. By the end of this 44-minute lesson, you'll be able to efficiently integrate keypad input into your Raspberry Pi projects.

Syllabus

Introduction
Homework Assignment
Creating a Python Class
Key Labels
GPIO
Variables
Reading a String
Changing the Return Character
Creating a Python Library
Demo

Taught by

Paul McWhorter

Reviews

Start your review of Raspberry Pi - Creating a Python Class and Library for Reading a Keypad

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.