Consistently get SM2 event now. Must check directly in irq. DIG_PROCESS modified to check this ALevent copy

This commit is contained in:
Hakan Bastedt
2024-02-09 22:58:28 +01:00
parent 6d18c2cb3f
commit c04ac0e74b
4 changed files with 14 additions and 14 deletions

View File

@@ -21,7 +21,7 @@ public:
HardwareTimer *startTimer; // 10,11,13,14
uint8_t dirPin;
PinName stepPin;
const float Tjitter = 50.0; // Time unit is microseconds
const float Tjitter = 5.0; // Time unit is microseconds
public:
volatile double_t commandedPosition; // End position when this cycle is completed