This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PWM Driver

Hello,

I want to use the PWM driver to change the output voltage with respect to analog input voltage. If I call the simple_playback_sequence from the SAADC event handler, the voltage only raises for that time but if I call the same function from the while(); loop in main, it remains constant. I am giving LOOPS, no repeats and no end delay. Is there any specific reason that I can't call PWM from the event handlers and have to do it only from the infinite while loop?

Related