 
 
 #if STEPPER_DRIVER == 2
-
+static const float RESET_SPEED = -800.0;  // The speed to go back to initial position at
 #include <AFMotor.h>
 AF_Stepper myStepper1(STEPS_PER_ROTATION, 2);
 // you can change these to DOUBLE or INTERLEAVE or MICROSTEP!

#endif

#if STEPPER_DRIVER == 1

AccelStepper Astepper1(1, 9, 8);
#define MICROSTEPS 8


static const int STOP_BUTTON_PIN = A4;      // The pin the stop push switch is on
static const int STOP_BUTTON_TYPE = 1;     // The type of switch 0 - Normally Closed; 1 - Normally Open
static const float DIRECTION = 1.0; // 1 forward is forward; -1 + is forward is backward


#if STEPPER_DRIVER == 0
static const float RESET_SPEED = -1000.0;  // The speed to go back to initial position at
#include <Adafruit_MotorShield.h>
#include "utility/Adafruit_PWMServoDriver.h"

