Go Down

Topic: Smallest stepper library? (Read 381 times) previous topic - next topic



I'm looking for the smallest, simplest stepper library available, I pretty much need only STEP and DIR pin assignment, no microstopping, no EN/RESET/FAULT... pins or anything like that, it's gonna be used with an ATTiny (the reason it needs to be small) and a DRV8824 stepper driver, I just need to rotate the stepper an amount of steps or constantly until stopped by a sensor.



Why do you need a library to set the direction pin HIGH or LOW, and to trigger the step pin? Take a look at the Stepper library, to see how it actually makes a step happen. The only other thing that it does is manage WHEN the step(s) happen.



Have you googled      attiny stepper

Tom... :)
Everything runs on smoke, let the smoke out, it stops running....

Go Up