Question
Changing PWM during runtime using timers
Went through examples of Nucleo -L073RZ eval board for PWM output
It generates four PWM waves using Timer 2 channel 1 ,channel2 ,channel 3,channel 4
at 50%,25%,12.5.37.5% duty cycle . So the pwm duty cycle is fixed.
but i have a fan pwm connected to Tim2 channel 1 pin
I want to change pwm during runtime,so as to control fan speed.
How to do it using timer2
and what is PWM mode 1 and PWM mode 2
