summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/machine.WDT.rst
diff options
context:
space:
mode:
authordanicampora <daniel@wipy.io>2015-10-20 16:24:25 +0200
committerdanicampora <daniel@wipy.io>2015-10-21 15:30:56 +0200
commitceb169008d93165d461a9ab1b9bb5e9c85d03949 (patch)
tree93354eab1b3e98ffa5902f98adaea224edc54a78 /docs/library/machine.WDT.rst
parent04db848dc7c7356a38f809b5efdd4699a41aa54f (diff)
downloadmicropython-ceb169008d93165d461a9ab1b9bb5e9c85d03949.tar.gz
micropython-ceb169008d93165d461a9ab1b9bb5e9c85d03949.zip
docs: Several corrections to the classes in the machine module.
Diffstat (limited to 'docs/library/machine.WDT.rst')
-rw-r--r--docs/library/machine.WDT.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/library/machine.WDT.rst b/docs/library/machine.WDT.rst
index 9ce0a96ac3..dca74f70f6 100644
--- a/docs/library/machine.WDT.rst
+++ b/docs/library/machine.WDT.rst
@@ -10,7 +10,8 @@ watchdog periodically to prevent it from expiring and resetting the system.
Example usage::
- wdt = machine.WDT(timeout=2000) # enable with a timeout of 2s
+ from machine import WDT
+ wdt = WDT(timeout=2000) # enable it with a timeout of 2s
wdt.feed()
Constructors