With more robust driving method and calibration routine

Dependents:   Stepper_Motor_Demo Stepper_Motor_Demo_final

Fork of Stepper_Motor_X27168 by Stepper Motor

Revision:
1:406a6e6c4bd7
Parent:
0:c346170974bc
diff -r c346170974bc -r 406a6e6c4bd7 StepperMotor_X27168.h
--- a/StepperMotor_X27168.h	Tue Oct 20 00:36:06 2015 +0000
+++ b/StepperMotor_X27168.h	Wed Mar 16 18:03:32 2016 +0000
@@ -127,6 +127,10 @@
      */
     void angle_position(float angle);
     
+    /** Initialize the motor by rotating CW for full range and CCW for full range
+     */
+    void init();
+    
 private:
     BusOut motor_control;       // 4-bit Bus Controlling the H-Brigde
     int max_position;           // Software Limit to motor rotation