 #include <Wire.h>
 #include "RTClib.h"
-#include "Adafruit_LEDBackpack.h"
-#include "Adafruit_GFX.h"
 #include "Clock.h"
+#include "Display.h"
 
 #define VIEW_BUTTON 9
 #define SET_MINUTE_BUTTON 8
 #define SET_HOUR_BUTTON 7
+#define SNOOZE_BUTTON 6
+#define ENABLE_ALARM_BUTTON 5
 
 RTC_DS1307 rtc;
-Adafruit_7segment matrix = Adafruit_7segment();
+Display* display;
 AlarmClock* alarm;
 
 void setup () {

    }
    delete clock;
    clock = alarm;
  }
  matrix.print(formattedTime(clock), DEC);
  if(clock->isPm()){
    matrix.writeDigitRaw(2, 0x0A);
  }else{
    matrix.drawColon(true);
  }
  matrix.writeDisplay();
  delay(500);
}

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

  alarm = new AlarmClock();
  display = new Display();
  pinMode(VIEW_BUTTON, INPUT_PULLUP);
  pinMode(SET_MINUTE_BUTTON, INPUT_PULLUP);
  pinMode(SET_HOUR_BUTTON, INPUT_PULLUP);
  pinMode(ENABLE_ALARM_BUTTON, INPUT_PULLUP);
  pinMode(SNOOZE_BUTTON, INPUT_PULLUP);
}

void loop () {
