Change TMR1 CH1 frequency and duty cycle on the fly
Hi,I am using a STM32L452RET6 and need to change the PWM frequency (and later the duty cycle) of Timer1 Channel 1 multiple times and on the fly. I tried using the following code but does not change the frequency:htim1.Init.Period = 20000;HAL_TIM_PWM_...