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

    }
    else
    {
      stepper1.setSpeed(1);
      stepper1.runSpeed();
    }
      

#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);
