STM32F0 Changing frequency with Potentiometer(ADC)
Hi,
I am a beginner in ST platform and is planning to create a project where I need to change the PWM output frequency by varying the pot(ADC).
I have found the __HAL_TIM_SET_COMPARE function which can change the duty cycle corresponding to the ADC value.
How can I change the frequency/period with respect to the ADC value, Is there any HAL functions for that?
I am now using the nucleo F091 board and generating PWM with TIM 16.