STM32F407 update PWM duty cycle after complete PWM period only
I have made a code for PWM for STM32F407. It is working fine for generating PWM.1. Currently what happens is I have made a PWM period of 5seconds in total.2. Suppose in code I call TIM_SetCompare2(TIM9 , 32767), now outout will be 2.5 seconds on & 2....