 const int steps = 64;
 const int MOTOR_STEPS_PER_REVOLUTION = 512;
 const int MOTOR_ENABLE12_PIN = 8;
-const int MOTOR_ENABLE34_PIN = 9;
+const int MOTOR_ENABLE34_PIN = 11;
 const int TTL = 3;
 
 

    setMotorToSleep();
    enterSleep();
  }



  delay(1000);

  //  display.refresh();
  //  updateCount();
  //  pokeCount ++;
  //  delay(1000);

}

void timecounter(long timeNow) {


}

void setMotorToTurn() {
    pinMode(MOTOR_INPUT1_PIN, OUTPUT);
    pinMode(MOTOR_INPUT2_PIN, OUTPUT);
    pinMode(MOTOR_INPUT3_PIN, OUTPUT);
    pinMode(MOTOR_INPUT4_PIN, OUTPUT);

    pinMode(MOTOR_ENABLE12_PIN, OUTPUT);
    pinMode(MOTOR_ENABLE34_PIN, OUTPUT);
    digitalWrite(MOTOR_ENABLE12_PIN, HIGH);
    digitalWrite(MOTOR_ENABLE34_PIN, HIGH);
}

void setMotorToSleep() 
{
    digitalWrite(MOTOR_ENABLE12_PIN, LOW);
    digitalWrite(MOTOR_ENABLE34_PIN, LOW);  

    pinMode(MOTOR_INPUT1_PIN, INPUT_PULLUP);
    pinMode(MOTOR_INPUT2_PIN, INPUT_PULLUP);
    pinMode(MOTOR_INPUT3_PIN, INPUT_PULLUP);
    pinMode(MOTOR_INPUT4_PIN, INPUT_PULLUP);
}

void setup()
{
  // make all unused pins inputs with pullups enabled by default, lowest power drain
  // leave pins 0 & 1 (Arduino RX and TX) as they are
  for (byte i=2; i <= 20; i++) {    
    pinMode(i, INPUT_PULLUP);     
  }
  ADCSRA = 0;  // disable ADC as we won't be using it

  Serial.begin(9600);
  Serial.println(F("Starting up..."));

  // Display setup
  LEDserial.begin(9600); 
  pinMode(DISPLAY_SERIAL_TX_PIN, OUTPUT);
  setDisplayBrightness(64);
  clearDisplay();
  delay(1); // allow a very short delay for display response
  setDisplayValues(pelletCount);
  
  pinMode(PIPin, INPUT);
  pinMode(TTL, OUTPUT);
  pinMode(CS_pin, OUTPUT);
  pinMode(SS, OUTPUT);

  Wire.begin();
  RTC.begin(); // RTC library needs Wire

  if (! RTC.isrunning()) {
    Serial.println(F("RTC is NOT running!"));
