Quote Originally Posted by skimask View Post
What do you mean by 'safe' and 'confuses the uC'?
Hi Skimask,

I mean if I update the HPWM inside the main loop of a program, is it safe to update it every time the loop loops?

From my experimentation (Im controlling LED brightness using this hpwm) if I do this the LED flickers.

On the contrary, if I create a 3 lines new program with just one HPWM line and a loop:gotoloop, the LED does not flicker at all, its stable as it should be.

thanks