With calibration routine and driving method
Fork of Stepper_Motor_X27168 by
Diff: StepperMotor_X27168.h
- Revision:
- 1:406a6e6c4bd7
- Parent:
- 0:c346170974bc
--- 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