SpeedyStepper
SpeedyStepper copied to clipboard
Correct filename case in #include directive
Incorrect capitalization of Arduino.h causes compilation to fail on filename case-sensitive operating systems like Linux.
I've edited SpeedyStepper.h line 37 to #include <Arduino.h> on my computer, and it now compiles on Raspberry Pi OS. Not tested further yet, or tried on another Linux distro.
I can confirm that the change described by JohnInWales also fixes a compile error on my system, Arduino IDE 1.8.15 on Linux Mint 20.1.
Sorry for the bad place to ask this, don't know how to ask the autors about an equation:
For calculating the next time step, an equation is used, this one: ramp_NextStepPeriod_InUS = ramp_NextStepPeriod_InUS * (1.0 - acceleration_InStepsPerUSPerUS * ramp_NextStepPeriod_InUS * ramp_NextStepPeriod_InUS)
at the line 978-980 in src/SpeedyStepper.cpp, where does this equation come from? is it an approximation? It's for education purpose. Best regards, happylulux