wip, before timer stuff
This commit is contained in:
1 parent
d1eb1d9a40
commit
133df5662d
2 files changed
+47
-48
No files matched your search
@@ -34,7 +34,7 @@ public:
|
||||
|
||||
StepGen2(TIM_TypeDef *Timer, uint32_t timerChannel, PinName stepPin, uint8_t dirPin, void irq(void));
|
||||
|
||||
void handleStepper(void);
|
||||
uint32_t handleStepper(void);
|
||||
void timerCB();
|
||||
void enable(uint8_t yes);
|
||||
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
double actPos() { return actualPosition; };
|
||||
void setScale(int16_t spm) { stepsPerMM = spm; }
|
||||
int16_t getScale() { return stepsPerMM; }
|
||||
uint32_t updatePosAndReturn(int32_t stepPosStop, uint32_t i);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user