Added timer2 for proper start point

This commit is contained in:
Hakan Bastedt
2024-02-02 21:43:58 +01:00
parent 0384646972
commit 2b2704bb17
4 changed files with 10 additions and 5 deletions

View File

@@ -16,6 +16,7 @@ private:
volatile double_t requestedPosition;
volatile uint8_t enabled;
HardwareTimer *MyTim;
HardwareTimer *MyTim2;
uint16_t stepsPerMM;
uint8_t dirPin;
PinName stepPin;