   }
 #endif
 
-#define BRIGHTNESS 255
-
 void setup() {
-#if (SMARTMATRIX_ENABLED == 1)
+#if (MODE == MODE_SMARTMATRIX_NOCOLORCORRECTION || MODE == MODE_SMARTMATRIX_COLORCORRECTION)
   matrix.addLayer(&backgroundLayer);
   matrix.addLayer(&scrollingLayer);
   matrix.begin();

    theta++;
    hue++;

#if (SMARTMATRIX_ENABLED == 1)
    backgroundLayer.swapBuffers(true);
#endif
  }

#if (SMARTMATRIX_ENABLED == 0)
  FastLED.show();
#endif
}

  }
#endif

#if (MODE == MODE_SMARTMATRIX_NOCOLORCORRECTION || MODE == MODE_SMARTMATRIX_COLORCORRECTION)
  // scale the brightness of all pixels down
  void dimAll(byte value)
  {
