basic gcode parsing

Signed-off-by: Stepan Usatyuk <usaatyuk@ustk.me>
This commit is contained in:
2019-05-09 17:44:28 +03:00
parent eed3a18347
commit 61ee7dd21f
9 changed files with 210 additions and 30 deletions

View File

@@ -22,6 +22,8 @@ class Stepper {
public:
Stepper(int pin1, int pin2, int pin3, int pin4, int stepsPerRevolution, int backlashSteps, int limit);
void rotate(float degrees);
void moveTo(float degrees);
float getDist(float degrees);
void doStep();
bool finished();
float getPos();