Raspberry Pi Pico W, how to disable timers with Keyboard Interrupt triggered?
-
- Posts: 144
- Joined: Mon Jul 25, 2022 9:45 pm
Raspberry Pi Pico W, how to disable timers with Keyboard Interrupt triggered?
On a Raspberry Pi Pico W, how to disable timers with Keyboard Interrupt triggered? Apparently once a timer is setup and active, there is no way to actually stop it?
Re: Raspberry Pi Pico W, how to disable timers with Keyboard Interrupt triggered?
https://docs.micropython.org/en/latest/ ... mer.deinit
Catch the keyboard interrupt, deinit the timer, the raise keyboard interrupt again?
Catch the keyboard interrupt, deinit the timer, the raise keyboard interrupt again?
-
- Posts: 144
- Joined: Mon Jul 25, 2022 9:45 pm
Re: Raspberry Pi Pico W, how to disable timers with Keyboard Interrupt triggered?
Yup, i figured it out later the same day I posted the question, once I got the deinit( ) right, that did the trick.