diff options
| author | Mike Causer <mcauser@gmail.com> | 2021-04-30 14:02:17 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-05-06 15:50:42 +1000 |
| commit | 64aebed70e58ecc9623231d887d9818475174081 (patch) | |
| tree | 25c32b8bebdf7a8840e0f6750fe7ca9c8ea1941d /docs/esp8266/quickref.rst | |
| parent | a111889705649465b2fd57a1f10bd34aae9b4435 (diff) | |
docs/esp8266: Add WDT to quickref.
Diffstat (limited to 'docs/esp8266/quickref.rst')
| -rw-r--r-- | docs/esp8266/quickref.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/esp8266/quickref.rst b/docs/esp8266/quickref.rst index b9a46ab11..af2ef1ca1 100644 --- a/docs/esp8266/quickref.rst +++ b/docs/esp8266/quickref.rst @@ -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 --------------- |
