Using attach() and detach() function on a stepper motor with a easy drive.

So why do you want to attach() and detach() the stepper ?

I'm a beginner at coding for the Arduino :confused: . I really do not know how the stepper operates while servos are implemented into the code and that's where I get confused. I want to know how to stop the stepper motor to position wait a certain amount of time then moves to next position.

Why do you keep attaching and detaching the servos ?

I keep attaching and detaching the servos because I don't want them to run all at the same time. I also have them in the void loop because I want to run the program multiple times.