 
 void smooth()                                           // Cleans up photocell input
 {
-  int readings[numReadings];                            // the readings from the analog input
-  int index = 0;                                        // the index of the current reading
-  int total = 0;                                        // the running total
-  int average = 0;                                      // the average
+//  int index = 0;                                        // the index of the current reading
+//  int total = 0;                                        // the running total
+//  int average = 0;                                      // the average
+//  int readings[numReadings];                            // the readings from the analog input
+
 
   for (int thisReading = 0; thisReading < numReadings; thisReading++)
     readings[thisReading] = 0;

  int clockBrightness = map(clockKnob, 0, 1023, 2, 15);
  int lightKnob = analogRead(nightLightIn);
  int lightBrightness = map(lightKnob, 0, 1023, 50, 255);        // Backlight
  int autoBright1 = map(autoBrightAverage, 1, 1023, 2, 15);
  int autoBright2 = map(autoBrightAverage, 1, 1023, 50, 255);

  autoBrightState = digitalRead(brightSwitchIn);                 // Adjust Brightness (if Auto Switch On)
  if (autoBrightState == 1)

{
  disp.drawColon(true);

  reminderState = digitalRead(reminderSwitchIn);        // Check Reminder Switch
  if (reminderState == 1) rainbowCycle(25);
  if (reminderState == 0)
  {
    strip.setBrightness(0);
