 int8_t minuteAnimationDirection = 1;
 float minuteAnimationTimer = 0;
 
-float previousBrightness = 0;
+int previousRawBrightness = 0;
 float brightness = 1;
 
 float hourAnimationTimer = 0;

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

            
            if (currentDateTime.hour() != previousDateTime.hour())
            {
                if ((currentDateTime.hour() % 6) == 0)
                {
                    int quarter = currentDateTime.hour() / 6;
                    if (quarter != 3)
                    {
                        int hourOfNextQuarter = (quarter + 1) * 6;
                        FadeIn *fadeIn = new FadeIn(InnerLED(hourOfNextQuarter), 0.5, colorForHour(hourOfNextQuarter));
                        animations.push_back(fadeIn);
                    }
                }
                if (currentDateTime.hour() == 0)
                {
                    hourAnimationTimer = 0.25;
