     }
     else
     {
-      stepper2.setSpeed(1);
+      stepper2.setSpeed(0);
       stepper2.runSpeed();
 
     }

  motor1.onestep(FORWARD, DOUBLE);
}
void backwardstep1() {  
  motor1.onestep(BACKWARD, DOUBLE);
}
// wrappers for the second motor!
void forwardstep2() {  
  motor2.onestep(FORWARD, DOUBLE);
}
void backwardstep2() {  
  motor2.onestep(BACKWARD, DOUBLE);
}

// Motor shield has two motor ports, now we'll wrap them in an AccelStepper object

#include <AccelStepper.h>
#include <AFMotor.h>

int motor_speed = 350;
// two stepper motors one on each port
AF_Stepper motor1(48, 1);
AF_Stepper motor2(48, 2);
