 // ---------------------- //
 #define BUTTON_A_PIN A0
 #define BUTTON_B_PIN A1
+
+// ---------------------- //
+//  alarm pins / addr
+// ---------------------- //
+#define ALARM_PIN A3
+#define ALARM_H_ADDR 0x20
+#define ALARM_M_ADDR 0x21
 
 // ---------------------- //
 //  FSM definitions


void updateAlarm()
{
	int h = 15;
	int m = 37;

	digitValues[0] = h / 10;
	digitValues[1] = h % 10;

		Serial.println("Unable to sync with the RTC");
	else
		Serial.println("RTC has set the system time"); 
	
	pinMode(ALARM_PIN, INPUT_PULLUP);
	RTC.sramWrite(ALARM_H_ADDR,  8);
	RTC.sramWrite(ALARM_M_ADDR, 30);
}

void loop()
