diff --git a/docs/esp8266/quickref.rst b/docs/esp8266/quickref.rst index b9a46ab112..af2ef1ca1a 100644 --- a/docs/esp8266/quickref.rst +++ b/docs/esp8266/quickref.rst @@ -293,6 +293,17 @@ See :ref:`machine.RTC ` :: (using a custom handler), `RTC.init()` and `RTC.deinit()` are currently not supported. +WDT (Watchdog timer) +-------------------- + +See :ref:`machine.WDT `. :: + + from machine import WDT + + # enable the WDT + wdt = WDT() + wdt.feed() + Deep-sleep mode ---------------