   String second = String(datetime.second(), DEC);
   return (month + "/" + day + " " + hour + ":" + minute + ":" + second);
 }
+
+/*void moveMotor(int motorNum)
+{
+    power_twi_enable();
+    stepperMotors[motorNum]->step(STEPS_TO_INCREMENT/2,FORWARD,DOUBLE);
+    stepperMotors[motorNum]->step(STEPS_TO_INCREMENT,BACKWARD,DOUBLE);
+    stepperMotors[motorNum]->release();
+    power_twi_disable();
+} //*/

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;

void setup() {
  //power saving stuff


  //motor shield stuff
  /*gMotorShield.begin();
  for (int i = 0; i < sizeof(stepperMotors); i++)
  { stepperMotors[i]->setSpeed(30); } //*/

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