kopia lustrzana https://github.com/micropython/micropython
Updated Hardware API (markdown)
rodzic
8a766f7527
commit
abc243c03f
|
@ -374,7 +374,7 @@ Constants:
|
|||
- `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.reset_cause()` get the reset cause
|
||||
- `machine.wake_reason()` get the wake reason (from `SLEEP` or `DEEPSLEEP` modes), will return `None` if no sleep-wake cycle has occurred
|
||||
- `machine.wake_reason()` get the wake reason (from `SLEEP` or `DEEPSLEEP` modes). `None` will be returned if no sleep-wake cycle has occurred
|
||||
|
||||
### Constants
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue