 int lastStates[] = { 1, 1 };
 int pelletCount[] = { 0, 0 };
 
-const int STEPS_TO_INCREMENT = 64;
-const int MOTOR_STEPS_PER_REVOLUTION = 513;
-
-Adafruit_MotorShield gMotorShield = Adafruit_MotorShield();
-Adafruit_StepperMotor *gPtrToStepper = gMotorShield.getStepper(MOTOR_STEPS_PER_REVOLUTION,2);
-
 #define FILENAME "PelletData.csv"
 const int CS_pin = 10;
 SdFat SD;
 File dataFile;
+
+/*const int MOTOR_STEPS_PER_REVOLUTION = 513;
+const int STEPS_TO_INCREMENT = 64;
+Adafruit_MotorShield gMotorShield = Adafruit_MotorShield();
+Adafruit_StepperMotor *stepperMotors[] = { gMotorShield.getStepper(MOTOR_STEPS_PER_REVOLUTION,1), gMotorShield.getStepper(MOTOR_STEPS_PER_REVOLUTION,2) };
+//*/
 
 void setup() {
   //power saving stuff


  //motor shield stuff
  /*gMotorShield.begin();
  gPtrToStepper->setSpeed(30);//*/

  //SD card init stuff
  Wire.begin();

    Serial.print(F("Pellet #"));
    Serial.print(String(inputNum + 1));
    Serial.println(F(" replaced"));
  }
  
  else  { //if PIStates == 0
