Closed Houri93 closed 3 years ago
a redundant check for the value of (step_count < steps_to_cruise) while calculating rest and accelerating.
Thank you for your feedback and kind words, I am glad you were able to modify the library to suit your needs.
I do have to say that it's not the best library for performance with multiple motors. There are a few others that make use of the hardware timers on supported platforms, which offers better performance for many motors. I think AccelStepper is one of those you might want to give a try.
If your intent is to share your changes with others, I would encourage you to fork the repository, which would create a copy linked to the original that you can then modify in your github account and publish the changes there, because this issue ticket will eventually be closed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have been doing a bit of research testing and improving Arduino stepper libraries, yours is the best one so far after improvements, my use case is to drive 6 motors Independently on an Arduino Due at high speeds and acceleration with "async" actions, performance is key in this situation as other tasks are performed on the same processor between nextAction calls so here are my suggestions for others attempting to do the same.
BasicStepperDriver.zip
Most importantly, thanks for your good work.