implemented sending/resending- buffer and lots of other bugfixes

This commit is contained in:
Alex
2015-04-03 23:11:41 +02:00
parent 5bddfa9c78
commit f3d518b4d4
30 changed files with 8255 additions and 46 deletions

View File

@@ -28,6 +28,8 @@ private:
int dirPin;
int stepPin;
int enablePin;
int sleepPin;
int resetPin;
int ms1Pin;
int ms2Pin;
int ms3Pin;
@@ -53,7 +55,11 @@ public:
volatile long counter;
double targetPosition;
StepperModel(int inDirPin, int inStepPin, int inEnablePin, int inEndStopPin,int inMs1Pin, int inMs2Pin, int inMs3Pin, bool vms1, bool vms2, bool vms3,
StepperModel(
int inDirPin, int inStepPin, int inEnablePin, int inEndStopPin,
int inMs1Pin, int inMs2Pin, int inMs3Pin,
int inSleepPin, int inResetPin,
bool vms1, bool vms2, bool vms3,
long minSC, long maxSC,
double in_kStepsPerRevolution, int in_kMicroStepping);