I want to control 2 stepper motor using DRV8825 stepper driver …can anyone help me with arduino code
I moved your post to a new thread, since it seems to be about a new topic.
It is difficult to help you without knowing more about your setup. Can you provide more details about what you are trying to do (e.g. control two stepper motors independently using a single DRV8825 stepper motor driver)? What stepper motors are you using? A link to its specification or datasheet would be best.
If you wrote some code and are having trouble getting it to work, you can post what you have here, and I would be happy to take a look.