AnsweredAssumed Answered

Dynamic Change  Duty Cycle PWM using tim.h

Question asked by Sean Mutlu on Jul 4, 2017
Latest reply on Jul 9, 2017 by Clive One

Working off the provided example for PWM on STM32F100RB I am able to output varying levels of PWM, however, my attempts to change the duty cycle of a specific channel according to user input have failed. I do not see any way to change the duty cycle using tim.h except on timer initialization.

Outcomes