Library for A4988 / DRV8825 stepper motor driver carrier.

Hello, Previously, I want to drive the stepper motor with smooth acceleration and deceleration. It seems not have the proper library to do this, so I wrote a new library for A4988 or DRV8825 module to let stepper motor can accelerate and decelerate smoothly. Share this to everyone: hope you can give me some advice, thanks.

Thanks for sharing. What do you want advice about?

Have you tried the AccelStepper library ?