filmov
tv
Raspberry Pi LESSON 35: Monitoring User Input from Keypad Using Threading
Показать описание
Announcing the Most Awesome Raspberry Pi Lessons of All Times! This time we RUMBLE!
In this class series, we will be using the most excellent Sunfounder Ultimate Raspberry Pi kit, available here: (Affiliate Link)
In this video lesson I will show you how to build a portable Raspberry Pi system which can monitor the keypad for input in the background using threading, while doing a main function in the foreground. We show how to use a nonblocking thread to constantly monitor the keypad for input without blocking the main program functions.
If you want to grab those cool little straight jumper wires I am using to keep my breadboard builds neat and clean you can snag a box of them here:
If you guys are interested in the oscilloscope I am using, you can pick one up here (affiliate link):
You guys get your hardware ordered so you can follow along at home!
You will also need a Raspberry Pi. I suggest the Raspberry Pi 4. If you do not already have one, this is the most suitable gear I could find:
The Raspberry Pi's are sort of pricy right now, so you can look on ebay or elsewhere to see if there are any deals. You will need a SD card. If you do not already have one, this is a good one:
I like using a wireless keyboard and mouse to have fewer wires. You can certainly use your USB keyboard and mouse, but if you want a nice wireless one, this one works on the pi. We demonstrate this by using a button switch to control a LED.
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
#THREADING
#KEYPAD
#RASPBERRYPI
In this class series, we will be using the most excellent Sunfounder Ultimate Raspberry Pi kit, available here: (Affiliate Link)
In this video lesson I will show you how to build a portable Raspberry Pi system which can monitor the keypad for input in the background using threading, while doing a main function in the foreground. We show how to use a nonblocking thread to constantly monitor the keypad for input without blocking the main program functions.
If you want to grab those cool little straight jumper wires I am using to keep my breadboard builds neat and clean you can snag a box of them here:
If you guys are interested in the oscilloscope I am using, you can pick one up here (affiliate link):
You guys get your hardware ordered so you can follow along at home!
You will also need a Raspberry Pi. I suggest the Raspberry Pi 4. If you do not already have one, this is the most suitable gear I could find:
The Raspberry Pi's are sort of pricy right now, so you can look on ebay or elsewhere to see if there are any deals. You will need a SD card. If you do not already have one, this is a good one:
I like using a wireless keyboard and mouse to have fewer wires. You can certainly use your USB keyboard and mouse, but if you want a nice wireless one, this one works on the pi. We demonstrate this by using a button switch to control a LED.
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
#THREADING
#KEYPAD
#RASPBERRYPI
Комментарии