Introduction - If you have any usage issues, please Google them yourself
this examlpe shows how to configure the TIM peripheral in PWM(Pulse Width Modulation mode). the four PWM signals generated with different duty cycles are then fed to the robot CC motor phase.
Display menu to choose between different motor speed:
STOP/LOW/MEDIUM/HIGH/VERY HIGH
LCD:
based on the user selection, display useful information on system frequency, PWM signals frequency and duty cycle chosen.