Skip to content

Commit

Permalink
docs/esp8266: Add WDT to quickref.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcauser authored and dpgeorge committed May 6, 2021
1 parent a111889 commit 64aebed
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/esp8266/quickref.rst
Expand Up @@ -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
---------------

Expand Down

0 comments on commit 64aebed

Please sign in to comment.