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

MicroPython • Re: Trouble with lightsleep() and deepsleep() in MicroPython

$
0
0
Not easily. If you read down the thread I posted, it seems to require a USB reset, which would cause a USB device reconnect: closing any consoles/connections you had open. It might also cause your Pico to re-enumerate, so what was on /dev/ttyACM0 might reappear on ttyACM1.

They're working on making it better. Stick with sleep() if you're staying connected to USB

Statistics: Posted by scruss — Sat May 11, 2024 12:10 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles