Added fucking brake support to Phytron

This commit is contained in:
2020-06-23 09:18:12 +02:00
parent 6d823e2265
commit 3ae13875cf
2 changed files with 96 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ public:
asynStatus poll(bool *moving);
asynStatus setPosition(double position);
asynStatus setClosedLoop(bool closedLoop);
int setBrake(int brakeIO);
private:
char phytronChar;
@@ -39,6 +40,8 @@ private:
int homing;
time_t next_poll;
int encoder;
int haveBrake;
int brakeIO;
friend class PhytronController;
};