BojanJurca / Esp32_oscilloscope

ESP32 oscilloscope - see the signals through Web browser the way ESP32 sees them
Creative Commons Zero v1.0 Universal
794 stars 93 forks source link

Watchdog gets triggered when heavily loaded #14

Closed BojanJurca closed 2 years ago

BojanJurca commented 2 years ago

One solution may be to increase the CPU frequency of ESP32.

The other solution is to disable the watchdog.

First

#include <soc/rtc_wdt.h>

then (in setup function)

void setup () {  
  rtc_wdt_protect_off ();
  rtc_wdt_disable ();

If you are using an Esp32 oscilloscope as a stand alone solution this may be perfectly OK. But if it is just a part of your project, disabling the watchdog may not really be what you desire.