Updated Hardware API (markdown)

master
Daniel Campora 2015-09-28 10:42:06 +02:00
rodzic 8a766f7527
commit abc243c03f
1 zmienionych plików z 1 dodań i 1 usunięć

@ -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