I use Easy Driver to move the stepper motor. It was working normally, but from one day to the next, it stopped working out of nowhere. I bought another Easy Driver thinking this might be the problem, but it did not work. I have tested all the electronics and they are working perfectly. I will attach my code and if you can give me any idea about the problem it will help me a lot.