   updateTimeDisplay(current_clock_time,false,false);
   writeAlarmTimeToEEPROM();
   digitalWrite(AlarmLED,LOW);
-}
-
-void forwardSunSet(int & minutes) {
-//  while (digitalRead(FwdButton)==LOW) {
-//    ++minutes;
-//    matrix.print(minutes);
-//    matrix.writeDisplay();
-//    delay(forward_delay);
-//  }
-}
-
-void rewindSunSet(int & minutes) {
-// while (digitalRead(RewButton)==LOW) {
-//    --minutes;
-//    if (minutes < 0) {
-//      minutes = 0;
-//    }
-//    matrix.print(minutes);
-//    if (minutes == 0) {
-//      matrix.writeDigitNum(4,0);
-//    }
-//    matrix.writeDisplay();
-//    delay(rewind_delay);
-//  }
-}
-
+  alarmEnabled = true;
+}
 
 unsigned long millisAtStartOfSunSet = 0;
 bool sunSetActive = false;

ClockTime alarmTime(6,00); 
ClockTime startTime(5,30);

const int alarm_address = 0;
const int sundown_address = 2;
const int brightness_address = 3;

Adafruit_7segment matrix = Adafruit_7segment();
int matrixBrightness = 0;

}


const uint8_t candleLight[3] = {255, 147, 41};
const uint8_t sunLight[3] = {255, 255, 255};
const uint8_t testingLight[3] = {50, 0, 0};
uint8_t targetColor[3] = {255, 0, 0};

unsigned long millisecondsIn30Minutes = 1800000;
uint8_t minRGBLevel = computeMinRGBLevel(targetColor);
uint16_t totalDimmerSteps = minRGBLevel*NUM_LED;

void setColorForSunDown()
{
  for (uint8_t i=0 ; i<3 ; ++i)
  {
    targetColor[i] = candleLight[i];    
  }
  minRGBLevel = computeMinRGBLevel(targetColor);
  totalDimmerSteps = minRGBLevel*NUM_LED;
}

void setColorForSunRise()
{
  for (uint8_t i=0 ; i<3 ; ++i)
  {
    targetColor[i] = sunLight[i];    
  }
  minRGBLevel = computeMinRGBLevel(targetColor);
  totalDimmerSteps = minRGBLevel*NUM_LED;  
}

uint16_t currentDimmerStep = 0;
uint8_t baseRGBColor[3] = {0u, 0u, 0u};
uint8_t highRGBColor[3] = {0u, 0u, 0u};
