2022-11-01 01:44 PM
2022-11-01 05:31 PM
One TIM
Use PWM Mode 1 on CCR1, Sweep the CCR1 for CH1 to change the duty
Use PWM Mode 1 on CCR2 = (ARR+1)/2 for 50/50
Use PWM Mode 2 on CCR3 = (ARR+1)/2 for 50/50 anti-phase
TIMx->CCR1 = ((TIMx->ARR + 1) * percent) / 100;
2022-11-01 01:51 PM
if you looking for personal to work for you, what you wanna pay for working for you ?
2022-11-01 05:31 PM
One TIM
Use PWM Mode 1 on CCR1, Sweep the CCR1 for CH1 to change the duty
Use PWM Mode 1 on CCR2 = (ARR+1)/2 for 50/50
Use PWM Mode 2 on CCR3 = (ARR+1)/2 for 50/50 anti-phase
TIMx->CCR1 = ((TIMx->ARR + 1) * percent) / 100;
2024-02-19 04:40 AM
Thank you! Some day you will need help and you say the same message that you sended to me. Thank you for nothing!
2024-02-21 10:53 AM
I will try again, can i share my code with you after i try?