Updated Hardware API (markdown)
parent
f71576f747
commit
ca0c23ccd1
|
@ -334,7 +334,7 @@ Methods:
|
||||||
- `machine.sleep([... options])` NOHEAP; enter sleep mode that retains RAM and continues execution when woken
|
- `machine.sleep([... options])` NOHEAP; enter sleep mode that retains RAM and continues execution when woken
|
||||||
- `machine.deepsleep([... options])` NOHEAP; enter sleep mode that may not retain RAM and may reset when woken
|
- `machine.deepsleep([... options])` NOHEAP; enter sleep mode that may not retain RAM and may reset when woken
|
||||||
- `machine.reset_cause()` get the reset cause
|
- `machine.reset_cause()` get the reset cause
|
||||||
- `machine.wake_reason()` get the wake reason, might return `None` if now sleep-wake cycle has occurred ??
|
- `machine.wake_reason()` get the wake reason, will return `None` if now sleep-wake cycle has occurred
|
||||||
|
|
||||||
### Constants
|
### Constants
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue