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

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This lesson shows how to connect and scan a 16-button keypad with a Raspberry Pi, then create a reusable Python class and library for collecting user input. It assumes familiarity with the keypad and GPIO basics covered in earlier lessons.

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.