Stepper Motor control using DRV8825

Hi, I am trying to control Stepper Motor using Arduino Mega +Ramps 1.4 +DRV8825. If anybody has tested code or links please forward it. I am also trying to get data from MPU6050 also need help for it as I am new to Arduino environment.

Arduino DRV8825

Arduino MPU6050

This Simple Stepper Code should be good for testing. Try one motor at a time.

The GRBL program is often used with the RAMPS board.

...R
Stepper Motor Basics