         state = !state;
 
         if (state) {
-          setColor (100, 100, 0);
+          setColor (CONFIG_COLOR_INTENSITY, CONFIG_COLOR_INTENSITY, 0);
         } else {
-          setColor (0, 100, 100);
+          setColor (0, CONFIG_COLOR_INTENSITY, CONFIG_COLOR_INTENSITY);
         }
 
         lastUpdate = curMillis;

// Min and max update frequency
#define MIN_UPDATE_FREQUENCY    5
#define MAX_UPDATE_FREQUENCY 7200


// EEPROM config structure

}

/**
 * Method brighten color.
 *
 * @param color original color.
 * @return unsigned long new color.
*/
unsigned long brightenColor (unsigned long color) {
  unsigned long result = color;

  switch (color) {
    case 0x008000 :
      result = 0x00FF00UL;
    break;
    case 0x800080 :
      result = 0xFF00FFUL;
    break;
    default : break;
  }

  return result;
}

/**
 * Main loop.
*/
void thingSpeakLoop() {
