 				updateAlarm();
 				display.enableClockDisplay();
 
-				if (alarmOn)
+				if (isRtcAlarmOn())
 				{
 					for (int i = 0; i < N; i++)
 						display.enableDecimalPoint(i);

byte fsmState       = 0;
byte activeDigit    = 0;
byte digitValues[N] = {0,0,0,0};
byte alarmOn		= 0; // default state is OFF
int  tempInCelsius  = 0;
unsigned long updateInterval    = 100;
unsigned long lastTempRead      = 0;

DallasTemperature sensor(&oneWire);
DeviceAddress devAddr;

// ----------------------------- //
//  RTC control/test functions
// ----------------------------- //
void rtcStatus()
{
  timeStatus_t rtcSta = timeStatus();
