Raspberry Pi Pico W LESSON 83: Using Interrupts in Micropython

preview_player
Показать описание
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:

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 see how we can attach an interrupt to a GPIO pin, and then have it run in the background. This allows us to handle peripherals like buttons and switches in the background.

More great content at:

#raspberrypipicow
#interrupts
#micropython
Рекомендации по теме
Комментарии
Автор

Enjoyed the lesson. I am still digging into the homework. I will keep researching and keep trying but as of now, my solution works about 80% of the time. I love the challenge! Failure is an opportunity to learn. Thank you for this series.

craigflorin
Автор

This is a Great lesson! Thank You Paul!

larryplatzek
Автор

Thanks for doing these videos. My homework is on my channel. YouTube still makes my comments go away when I put a link.

jameslewellen
Автор

Thanks Paul, I got it to work but it is a poor man solution...Waiting to see how do the right / sophisticated solution. Proof:
Abbreviated
MPY: soft reboot
TRIGGERED 1
TRIGGERED 2
TRIGGERED 3
.
.
.

TRIGGERED 47
TRIGGERED 48
TRIGGERED 49
TRIGGERED 50

edSabio
Автор

For a software interrupt is Millis a good option, in your opinion?

victorsalinas
Автор

As usual I think I took a different path than Paul will show. Thanks Paul for all you do.

keithlohmeyer
Автор

Thanks for a great lesson, and for a very interesting homework. I can not be that difficult to debounce a simple pushbutton...
It's probably not close to the solution that Paul will present.

peterkarlsson