 
 #include "LowPower.h"
 
-#define LEFT_BUTTON_PIN A3
+#define LEFT_BUTTON_INT_PIN INT1
+#define LEFT_BUTTON_NORM_PIN 3
+
 #define MIDDLE_BUTTON_PIN A2
 #define RIGHT_BUTTON_PIN A1
+
+//These two refer to the same pin
+#define ALARM_INT_PIN INT0//Driven LOW by Chronodot on alarm triggered
+#define ALARM_NORM_PIN 2//Driven LOW by Chronodot on alarm triggered
 
 #define VOLTAGE_MEASURE_PIN A0
 
 #define MOTOR_PIN1 1
 #define MOTOR_PIN2 0
 #define MOTOR_SLEEP_PIN 6
-
-//These two rofero to the same pin
-#define ALARM_INT_PIN INT0//Driven LOW by Chronodot on alarm triggered
-#define ALARM_NORM_PIN 2//Driven LOW by Chronodot on alarm triggered
 
 #define ADC_PRECISION 1024
 

  if(!showLCD){
    uView.clear(PAGE);
    uView.display();
  }
}




  delay(INITIAL_TEXT_DELAY);
  attachInterrupt(ALARM_INT_PIN, alarmTriggered, FALLING);
  attachInterrupt(LEFT_BUTTON_INT_PIN, leftButtonIntPressed, FALLING); //Left Button is used to wake up from deep sleep
}

void loop (){


  int leftButtonState = digitalRead(LEFT_BUTTON_NORM_PIN);
  int middleButtonState = digitalRead(MIDDLE_BUTTON_PIN);
  int rightPinState = digitalRead(RIGHT_BUTTON_PIN);

