File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747//| import alarm
4848//| alarm.sleep_memory[0] = True
4949//| alarm.sleep_memory[1] = 12
50- //|
50+ //| """
5151
5252//| def __init__(self) -> None:
53- //| """Not currently dynamically supported . Access the sole instance through `microcontroller.nvm `."""
53+ //| """Not used . Access the sole instance through `alarm.sleep_memory `."""
5454//| ...
5555//|
5656
Original file line number Diff line number Diff line change 5858//| maintaining the connection takes priority and power consumption may not be reduced.
5959//| """
6060
61+ //| sleep_memory: SleepMemory
62+ //| """Memory that persists during deep sleep.
63+ //| This object is the sole instance of `alarm.SleepMemory`."""
6164//|
65+
6266//| wake_alarm: Alarm
6367//| """The most recently triggered alarm. If CircuitPython was sleeping, the alarm the woke it from sleep."""
6468//|
You can’t perform that action at this time.
0 commit comments