Hello,
I have 4 unipolar stepper motors connected to my Arduino. I am using Motorknob to control them, but can only get one motor to activate at any given time. Is there a way to have two or more motors moving at the same time? Thanks
The following code moves 2 motors. It moves one and then the other- not both at the same time.
void loop() {
// Step forward 200 steps:
Serial.println("Forward");
myStepper.step(200);
myStepper2.step(200);
delay(500);
// Step backward 200 steps:
Serial.println("Backward");
myStepper.step(-200);
myStepper2.step(-200);
delay(500);