Kludge with 'tone' of steppers. Gives ferror, but nice tone

This commit is contained in:
Hakan Bastedt committed 2024-01-21 23:29:59 +01:00
1 parent 6ac0949f26
commit b534e3d4da
3 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ private:
public:
static uint32_t sync0CycleTime;
static uint32_t pwmCycleTime;
volatile uint32_t pwmCycleTime;
StepGen(TIM_TypeDef *Timer, uint32_t timerChannel, PinName stepPin, uint8_t dirPin, void irq(void));
void reqPos(double_t pos);