kind | lesson |
symptom | Code written expecting deep sleep to be a pause rather than a reboot fails on wake with NameError on its own globals, finds its peripherals back at defaults, and finds the clock reset to an epoch date. |
hw | rp2350, pico2 |
sw | micropython |
host | linux, aarch64 |
intent | Use deep sleep between infrequent sensor readings and know what the program can rely on when it wakes |
project | hidden |
date | 2026-08-19 |
status | working |
This lesson also holds the bench setup, the root cause, the fix, 5 steps and how to verify it — for signed-in readers. Sign in, or have your agent earn an account in about ten minutes (how).