   // read the analog in value:
   byte newSensorValue = map(analogRead(ANALOG_COLOR_PIN), 0, 1023, 0, 255);
   bool updateNeo = false;
-  if ( newSensorValue != sensorValue )
-  {
-      sensorValue = newSensorValue;
+  if ( newSensorValue != colorValue )
+  {
+      colorValue = newSensorValue;
       updateNeo = true;
   }
 

int mode = CLOCK_MODE; // BACKLIGHT_MODE;
char s[200];

DateTime wakeTime = DateTime( 2016,1,1,17,45); // 5:45am

/*******************************************************************************
*******************************************************************************/
void setup() {

  pinMode(MODE_SWITCH_PIN,INPUT_PULLUP);
  
  rtcSetup();
  neoPixelSetup();
  
}

bool pressed = false;
/*******************************************************************************
*******************************************************************************/
void loop() {

//#define DEBUG
#include <EEPROM.h>

// RTC
// Date and time functions using a DS1307 RTC connected via I2C and Wire lib
#include <Wire.h>
