2023-05-18 12:40 PM - edited 2023-11-20 05:07 AM
2023-05-19 01:52 AM
Hello @abodi.1,
No, there is no ready-to-use HAL function to vary a PWM signal through a pot
You need to connect the pot to an ADC_IN and then in the HAL_ADC_ConvCpltCallback, read the ADC value and vary the duty cycle.
I hope that helps!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.