     uint32_t unixTime = now.unixtime();
     
     int rawBrightness = analogRead(A0);
-    brightness = ((float)rawBrightness) / 1023.0f;
-    if (brightness != previousBrightness)
-    {
+    if (abs(rawBrightness - previousRawBrightness) > 2) // Compensate for jitter
+    {
+        brightness = ((float)rawBrightness) / 1023.0f;
+        
+        Serial.print("Brightness changed from: ");
+        Serial.print(previousRawBrightness);
+        Serial.print(" to: ");
+        Serial.println(rawBrightness);
+        
         regenerateColors();
         for (int i = 0; i < 60; i++)
         {


void setup()
{
    setupLEDs();
    
    lcd.begin(16, 2);

        {
            strip.setPixelColor(InnerLED(i), colorForHour(i));
        }
        previousRawBrightness = rawBrightness;
    }
    
    if (unixTime != previousUnixTime)
    {
