 }
 
 
-//uint8_t targetColor[3] = {255, 147, 41}; // candle
-//uint8_t targetColor[3] = {255, 255, 255}; // sun
-//uint8_t targetColor[3] = {255, 0, 0}; // red
-uint8_t targetColor[3] = {50, 0, 0}; // testing
+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};

      waitForButtonDepress(OffButton, HIGH);
    }
    else {
      setSunSet();
    }
  } 
  updateBrightness();
//  updateLight();
  updateCurrentTime();
  updateClockTime();
  updateSunSet();

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

const int alarm_address = 4;
const int sundown_address = 6;
const int brightness_address = 7;

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