esp32:watchdog
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| esp32:watchdog [2022/04/25 20:00] – aistis | esp32:watchdog [2022/04/25 20:10] (current) – aistis | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <code cpp> | <code cpp> | ||
| + | |||
| #include " | #include " | ||
| void IRAM_ATTR resetModule() { | void IRAM_ATTR resetModule() { | ||
| Line 9: | Line 10: | ||
| + | //setup | ||
| timer = timerBegin(0, | timer = timerBegin(0, | ||
| timerAttachInterrupt(timer, | timerAttachInterrupt(timer, | ||
| Line 17: | Line 18: | ||
| | | ||
| | | ||
| + | // | ||
| timerWrite(timer, | timerWrite(timer, | ||
| - | < | + | </code> |
| + | |||
esp32/watchdog.1650906001.txt.gz · Last modified: by aistis
