test0313
Diff: sMotor.h
- Revision:
- 1:0ea5b11066c5
- Parent:
- 0:4b3b9e047ce3
- Child:
- 2:9b9db9c1c097
--- a/sMotor.h Thu Jun 14 12:16:40 2012 +0000 +++ b/sMotor.h Thu Mar 14 10:14:28 2019 +0000 @@ -21,6 +21,9 @@ void step(int num_steps, int direction, int speed); void anticlockwise(); void clockwise(); + void setzerostep(int SetZeroSteps, int direction, int speed); + void SetZeroClockWise(int setzeroclockwise); + private: @@ -29,6 +32,9 @@ DigitalOut _A1; DigitalOut _A2; DigitalOut _A3; + //DigitalIn _D11; + //DigitalOut _D12; + };