SpeedyStepper icon indicating copy to clipboard operation
SpeedyStepper copied to clipboard

Correct filename case in #include directive

Open per1234 opened this issue 4 years ago • 3 comments

Incorrect capitalization of Arduino.h causes compilation to fail on filename case-sensitive operating systems like Linux.

per1234 avatar Jan 07 '20 04:01 per1234

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.

JohnInWales avatar Mar 29 '21 12:03 JohnInWales

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.

jebcom avatar May 30 '21 04:05 jebcom

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

happylulux avatar Dec 12 '21 13:12 happylulux