Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3843

General discussion • Re: Pi pico problem with the button

$
0
0
With the fixed sleep period you can’t change then running in a single thread is not practical. It sound like you need to use both cores and run button 1 detection on one and two on the other. See https://docs.micropython.org/en/latest ... le-_thread

More options if you remove the 6 sec restriction.

Statistics: Posted by DS256 — Thu Aug 22, 2024 11:51 pm



Viewing all articles
Browse latest Browse all 3843

Trending Articles