"control the PWM output number"
Mickey, please explain what you understand by "PWM output number", I do not have the lightest clue.
1 of 1 people found this helpful
Pulling out my crystal ball: do you want to control the number of pulses the PWM outputs (having it stop after a certain number of steps)? The PWM itself cannot do that, but you can add a counter to the PWMs TC output. Then the counter can signal when the steps are reached and stop the PWM.