Controlling a stepper motor using 16f628A