Justin Jordan
/
R5_StepperDrive
update 1/27/16
Fork of R5_StepperDrive by
Diff: StepperDrive.cpp
- Revision:
- 4:754c74beef20
- Parent:
- 3:97bea13f40a9
diff -r 97bea13f40a9 -r 754c74beef20 StepperDrive.cpp --- a/StepperDrive.cpp Tue Feb 23 23:36:09 2016 +0000 +++ b/StepperDrive.cpp Fri Mar 25 19:50:38 2016 +0000 @@ -145,4 +145,33 @@ bool StepperDrive::isMoveDone() { return moveComplete; +} + +// FUNCTION: +// void pauseMove() +// IN-PARAMETERS: +// None +// OUT-PARAMETERS: +// None +// DESCRIPTION: +// Stops current move. Saves remaining steps in leftStepsPause +// and rightStepsPause. +void StepperDrive::pauseMove(); +{ + /* need to implement*/ +} + +// FUNCTION: +// void resumeMove() +// IN-PARAMETERS: +// None +// OUT-PARAMETERS: +// None +// DESCRIPTION: +// Restores remaining steps from leftStepsPause +// and rightStepsPause to leftSteps and rightSteps. Resumes +// move. +void StepperDrive::resumeMove(); +{ + /* need to implement */ } \ No newline at end of file