has anyone ever used the dr8825 to make a stepper motor go forward and backward?
Yes. Lots of people have. What have you found on google?
for the arduino program
Have you googled
enough hits there to supply any code you need…
Yes, I have.