badger2040::halt will halt completely but can be woken by a buttonpress.
Using sleep() just puts the Badger2040 to sleep until the time expires.
I need something which sleep until the time expires OR a button is pressed.
It’s not possible to wake up from hardware sleep on a timer with the original Badger 2040 - it doesn’t have an additional RTC to keep track of the time when the RP2040 is powered down. Badger 2040 W does though!
1 Like
Yeah I realized that after making this post - and have ordered one.
1 Like