You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not using the timer directly, but I have some libraries that probably depend on it (ESP8266HTTPUpdateServer, WifiManager, ...). Therefore I had to enable this in pwm.c for the library to work:
#define PWM_USE_NMI 1
The PWM works very well, but if I enable color cycling in my loop(), where I change the PWM settings according to a HSV color table in each cycle, I get a wdt reset after some time (tens of seconds to some minutes):
I use 3 channels on an esp-01 pins GPIO0 ,2 and 3 for a RGB strip, set-up with a 255 step period (~19kHz) it crashes consistently with the duty cicle 0,17,255 (of max 255,255,255) when using NMI1.
I'm not using the timer directly, but I have some libraries that probably depend on it (ESP8266HTTPUpdateServer, WifiManager, ...). Therefore I had to enable this in pwm.c for the library to work:
The PWM works very well, but if I enable color cycling in my
loop()
, where I change the PWM settings according to a HSV color table in each cycle, I get a wdt reset after some time (tens of seconds to some minutes):The text was updated successfully, but these errors were encountered: