docs/esp8266: Add WDT to quickref.

This commit is contained in:
Mike Causer 2021-04-30 14:02:17 +10:00 committed by Damien George
parent a111889705
commit 64aebed70e

View File

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