 
 // Fill the dots one after the other with a color
 void colorWipe(uint32_t c, uint8_t wait) {
-  #ifdef debug
+  #ifdef DEBUG
     Serial.print(F("colorWipe wait: ")); Serial.println(wait);
   #endif
   

  uint16_t i, j, numbers;
  numbers = 256 * 5;
  
  #ifdef debug
    Serial.print(F("rainbowCycle wait: ")); Serial.println(wait);
  #endif


      gradient(schemes[currentScheme], gradientWidthValues[currentWidth], currentSpeed);
    }
  } else {
    if (currentAnimation == RANDOM) {
      // Some example procedures showing how to display to the pixels:
      colorWipe(strip.Color(255, 0, 0), 50); // Red
      colorWipe(strip.Color(0, 255, 0), 50); // Green
      colorWipe(strip.Color(0, 0, 255), 50); // Blue
      // Send a theater pixel chase in...
      theaterChase(strip.Color(127, 127, 127), 50); // White
      theaterChase(strip.Color(127, 0, 0), 50); // Red
      theaterChase(strip.Color(0, 0, 127), 50); // Blue
    
      rainbows(20);
      rainbowCycle(20);
      theaterChaseRainbow(50);
    } else {
      switch(currentAnimation) {
        case RAINBOWS:
          rainbows(currentSpeed);
          break;
        case RAINBOW_CYCLE:
          rainbowCycle(currentSpeed);
          break;
        case COLOR_WIPE:
          colorWipe(Wheel(randomByte()), currentSpeed);
          break;
        case THEATER_CHASE:
          theaterChase(Wheel(randomByte()), currentSpeed); // Blue
          break;
        case THEATER_CHASE_RAINBOW:
          theaterChaseRainbow(currentSpeed);
          break;
      }
    }
  }
}

uint8_t randomByte(void) {
  uint8_t rand = random(256);
  if (counter < 1000) counter++;
  else {
    randomSeed(analogRead(A15));
    counter = 0;
    #ifdef DEBUG
      Serial.println(F("Counter reset"));
    #endif
  }
  return rand;
}

// Return true if the buffer contains an HTTP request.  Also returns the request
