1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-01 03:47:23 +03:00

Remove implementations of WDT-related functions

which were not correct since 0.9.3 anyway
This commit is contained in:
Ivan Grokhotkov
2015-06-25 00:13:06 +03:00
parent f1fa4c5bbc
commit 145b736d21
3 changed files with 10 additions and 24 deletions

View File

@ -153,9 +153,7 @@ APIs related to deep sleep and watchdog timer are available in the ```ESP``` obj
```ESP.deepSleep(microseconds, mode)``` will put the chip into deep sleep. ```mode``` is one of ```WAKE_RF_DEFAULT```, ```WAKE_RFCAL```, ```WAKE_NO_RFCAL```, ```WAKE_RF_DISABLED```. (GPIO16 needs to be tied to RST to wake from deepSleep.)
```ESP.wdtEnable()```, ```ESP.wdtDisable()```, and ```ESP.wdtFeed()``` provide some control over the watchdog timer.
```ESP.reset()``` resets the CPU.
```ESP.restart()``` restarts the CPU.
```ESP.getFreeHeap()``` returns the free heap size.