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.
More options if you remove the 6 sec restriction.
Statistics: Posted by DS256 — Thu Aug 22, 2024 11:51 pm