Indeed analogWrite seems buggy. I tried with the mbed PwmOut, and it seems to work, even inside the interrupt.
I added the UL, but timer was correctly 1s even without that.
and issue is opened here
Indeed analogWrite seems buggy. I tried with the mbed PwmOut, and it seems to work, even inside the interrupt.
I added the UL, but timer was correctly 1s even without that.
and issue is opened here