File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,18 @@ Example usage::
15
15
wdt = WDT(timeout=2000) # enable it with a timeout of 2s
16
16
wdt.feed()
17
17
18
- Availability of this class: pyboard, WiPy.
18
+ Availability of this class: pyboard, WiPy, esp8266, esp32 .
19
19
20
20
Constructors
21
21
------------
22
22
23
23
.. class :: WDT(id=0, timeout=5000)
24
24
25
- Create a WDT object and start it. The timeout must be given in seconds and
26
- the minimum value that is accepted is 1 second. Once it is running the timeout
27
- cannot be changed and the WDT cannot be stopped either.
25
+ Create a WDT object and start it. The timeout must be given in milliseconds.
26
+ Once it is running the timeout cannot be changed and the WDT cannot be stopped either.
27
+
28
+ Notes: On the esp32 the minimum timeout is 1 second. On the esp8266 a timeout
29
+ cannot be specified, it is determined by the underlying system.
28
30
29
31
Methods
30
32
-------
You can’t perform that action at this time.
0 commit comments