Open ge0rg opened 6 years ago
Same here. Just for reference. I am using WifiManager and SPI. It seems to happen with changing the PWM when the duty is set higher + high frequency.
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):