Raspberry Pi Pico W LESSON 86: Up Down Binary Counter Using Interrupts and Pushbuttons
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:
https://www.patreon.com/PaulMcWhorter
In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in this entire class.
In this video, I will show you how to create a hardware interrupt on the Raspberry Pi Pico W in micropython. We will have two pins connected to pushbuttons, with interrupts connected to both pins. We will have 4 led, and will create a binary counter. One button increments the counter, while the second button decrements the counter. The counter buttons are debounced so it counts without error.
More great content at:
http://toptechboy.com
[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. ]
#raspberrypipicow
#interrupts
#micropython
source