 
 void adjustBrightness()                                          // Brightness Check & Adjust
 {
+
   smooth();
 
   int clockKnob = analogRead(clockLightIn);                      // Check & Map Potentiometers/Photocell
-  int clockBrightness = map(clockKnob, 0, 1023, 2, 15);
+  int clockBrightness = map(clockKnob, 0, 1023, 1, 15);
   int lightKnob = analogRead(nightLightIn);
-  int lightBrightness = map(lightKnob, 0, 1023, 50, 255);        // Backlight
-  int autoBright1 = map(autoBrightAverage, 390, 1000, 2, 15);
-  int autoBright2 = map(autoBrightAverage, 390, 1000, 50, 255);
+  int lightBrightness = map(lightKnob, 0, 1023, 5, 255);        // Backlight
+
+  photoCellRead = analogRead(photoCellIn);
+  int autoBright1 = map(autoBrightAverage, 300, 1000, 2, 15);
+  int autoBright2 = map(autoBrightAverage, 300, 1000, 25, 240);
 
   autoBrightState = digitalRead(brightSwitchIn);                 // Automatically Adjust Brightness (if Switched ON)
   if (autoBrightState == 1)

#include "Adafruit_GFX.h"
#include "RTClib.h"
#include "pitches.h"
#include <Adafruit_NeoPixel.h>

// Input/Output Pins
int neoLightIn =        A0;      // Neopixel Dimming

  adjustBrightness();                    // Check Switch & Adjust brightness
  fourTwentyCheck();                     // Check if 4:20pm & Run Alarm
  reminderSwitch();                      // LED / Reminder
  dstHold();


  Serial.println(autoBrightAverage);


}

// ================================================================================== //
//                             *** CLOCK FUNCTIONS ***
// ================================================================================== //

int dstHold()                                          // Holds button press
{

  dstState = digitalRead(dstSwitchIn);     

  if (dstState != lastButtonState)
  if (dstState == HIGH) buttonPushCounter++;    // compare the dstState to its previous state
  lastButtonState = dstState;    //Save current state for next loop

  if (buttonPushCounter == 1) digitalWrite(dstLightOut, HIGH);
  else
  {
  digitalWrite(dstLightOut, LOW); 
  buttonPushCounter = 0;
  }
}


int getDecimalTime()                                    // Calculate and Adjust Hours
{
  DateTime now = RTC.now();
  int decimalTime = now.hour() * 100 + now.minute();
  if (buttonPushCounter == 1) decimalTime += 100;                // Plus/Minus 1 Hour
  if ((decimalTime > 1159) && !(decimalTime < 1259)) decimalTime -= 1200;

  return decimalTime;
