I am experiencing an issue whereby on the Badger 2040 W, when the halt() method is called, the device does not restart main.py upon a subsequent front button press, as expected in the documentation.
To demonstrate, I have the following program as main.py, with firmware v. 0.0.4:
When USB is connected, the LED blinks, as expected. Pressing any of the buttons on the front of the device does not cause the LED to blink again, so I suspect that main.py is not being started on wake up. However, when connected to Thonny, pressing any of the front buttons causes a new REPL prompt to appear (>>>), so the Badger does seem to wake up.
Hi!
I am experiencing an issue whereby on the Badger 2040 W, when the
halt()
method is called, the device does not restart main.py upon a subsequent front button press, as expected in the documentation.To demonstrate, I have the following program as
main.py
, with firmware v. 0.0.4:When USB is connected, the LED blinks, as expected. Pressing any of the buttons on the front of the device does not cause the LED to blink again, so I suspect that main.py is not being started on wake up. However, when connected to Thonny, pressing any of the front buttons causes a new REPL prompt to appear (
>>>
), so the Badger does seem to wake up.I'd be grateful for any help with this, please.
Thank you!