2019-08-07 11:56 PM
2019-08-08 12:04 AM
You do this by changing the PWM duty cycle by changing the content of respective TIMx_CCRx register.
JW
2019-08-08 02:20 AM
it should change on its own..
2019-08-08 03:36 AM
Then use DMA, triggered from the timer's Update event, to reload TIMx_CRRx from a precalculated table upon each cycle.
JW