 #define EDIT_ALARM_MODE 1
 #define SHOW_TIME_MODE  2
 #define SHOW_TEMP_MODE  3
-#define ERROR_MODE      4
-
+#define SHOW_ALARM_MODE 4
+#define ERROR_MODE      5
 
 #define SHOW_TIME_DURATION 7000
 #define SHOW_TEMP_DURATION 3000


			break;

		case ERROR_MODE:
			if (oldFsmState != fsmState)
			{	

		fsmState = ERROR_MODE;
	}
	
	// default alarm settings, 08:30, disabled
	pinMode(ALARM_PIN, INPUT_PULLUP);
	setRtcAlarm(8,30);
	disableRtcAlarm();
