docs/esp8266: Add WDT to quickref.

pull/7243/head
Mike Causer 2021-04-30 14:02:17 +10:00 zatwierdzone przez Damien George
rodzic a111889705
commit 64aebed70e
1 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -293,6 +293,17 @@ See :ref:`machine.RTC <machine.RTC>` ::
(using a custom handler), `RTC.init()` and `RTC.deinit()` are
currently not supported.
WDT (Watchdog timer)
--------------------
See :ref:`machine.WDT <machine.WDT>`. ::
from machine import WDT
# enable the WDT
wdt = WDT()
wdt.feed()
Deep-sleep mode
---------------