Question
Dynamic Change Duty Cycle PWM using tim.h
Posted on July 04, 2017 at 22:53
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.
#duty-cycle #pwm #dynamic-change