Closed civic9 closed 7 years ago
Not sure if it is right solution, but tagging pwm_intr_handler with ICACHE_RAM_ATTR solves above issue for me.
Btw, maybe you consider changing licence to LGPL so it can be included in arduino libraries?
ICACHE_RAM_ATTR is a Arduino specific deviation from the SDK defaults, fixed nevertheless.
I am trying to use this library with arduino. Here is my code:
Just setup and running a simple loop, without even changing duty cycle. It results with an exception and resets every time, about 10 seconds after start. Without delay(1) in the loop it works fine. It also works fine with other instructions in the loop - e.g. Serial.println(...);
Any ideas? Am I doing something wrong?