Count pwm pulse for drv8825 stepper motor drive interface.
1) Please mention how to Count pwm pulse for drv8825 stepper motor drive interface for precision movement .2) Which is the best method to control stepper motor i a) built-in pwm b) toggle an LED with microsecond delay.