 RTC_DS1307 RTC;
 Adafruit_SSD1306 display(OLED_RESET_PIN);
 
-
 typedef enum {NORMAL, ALARM, SETTING_TIME, SETTING_ALARM} CLOCK_STATE ;
 CLOCK_STATE currentState = NORMAL;
-
-#define MIN_YEAR 2014
-#define MAX_YEAR 2050
 
 typedef enum {C_HOUR, C_MINUTE, C_SECOND, C_YEAR, C_MONTH, C_DAY} SETTING_TIME_STATE ;
 SETTING_TIME_STATE settingClockProcess;


#define VOLTAGE_MEASURE_PIN A1
#define ADC_PRECISION 1024
#define VOLTAGE_OF_VCC_MV 3310

#define MIN_BATTERY_MILLIVOLT 3300
#define MAX_BATTERY_MILLIVOLT 4300

#define INITIAL_TEXT "Happy 24th birthday\n Jason!\n\nBy: Yeo Kheng Meng\n(14 May 2014)\n\nCompiled on:"
#define INITIAL_TEXT_DELAY 8000

  return (current + 1) % 60;
}

void setup(){

  Serial.begin(9600);
