Solved
Good evening, I'm working with a timer (TIMER4) for a PWM generation. I want to replace the TIM4-> CCR1 = SpeedMotor instruction with a simple call that uses the HAL library. Propose me a solution. Thank you.
..
..
hi.
__HAL_TIM_SET_COMPARE(&htim4, TIM_CHANNEL_1, SpeedMotor);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.