Countdown timer that resets on "shake"
Posted: Sun Nov 17, 2019 12:25 pm
Hi all,
I have created a program using blocks that counts down from 100 and sounds an alarm on zero. The timer resets to 100 on "shake". I need to do this in micropython but I am having difficulty running the countdown timer and the shake function at the same time. Any help would be greatly appreciated.
Thanks
Garry
I have created a program using blocks that counts down from 100 and sounds an alarm on zero. The timer resets to 100 on "shake". I need to do this in micropython but I am having difficulty running the countdown timer and the shake function at the same time. Any help would be greatly appreciated.
Thanks
Garry