Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- class Driver{
- public:
- Driver(byte addr, byte out);
- int setParameter();
- void enable(byte mode);
- void loadTraj(byte mode, long pos, byte speed, byte acc, unsigned short int steptime);
- void setGroup(bool isLeader);
- void stopMotor(byte mode);
- private:
- byte PicoAddr, OutVal, GroupAddr;
- byte Mode, MinSpeed, RunCurrent, HldCurrent, ADLimit, EmAcc, Speed, Acc;
- long Pos;
- unsigned short int StepTime;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement