Atmega1284p AccelStepper.h and NEMA 17 Bipolar Stepper

Hi All,

I am creating a demo project where I am using Atmega1284p and A4988 stepper driver.

The requirement is that threaded rod has to move nearly 10 cm within 30 seconds and after reaching 10cm it should come back. Please tell me how to use forwards and backwards.

Please help...

Like you would du on an Arduino UNO?
read the datasheet for the A4988. You shouldn't even need a library, as you only control a step and a direction signal. There's plenty of information out there