 #define ADAFRUIT_CC3000_CS    10
 // Use hardware SPI for the remaining pins
 // On an MEGA 2560, SCK = 20, MISO = 22, and MOSI = 21
-
-Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT,
-                                         SPI_CLOCK_DIVIDER); // you can change this clock speed
-
-#define WLAN_SSID       "your-network-SSID"   // cannot be longer than 32 characters!
-#define WLAN_PASS       "your-network-KEY-PASS"
+#define DEBUG
+
+Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT); // , SPI_CLOCK_DIVIDER, &Serial
+
+#define WLAN_SSID       "your_SSID"   // cannot be longer than 32 characters!
+#define WLAN_PASS       "your_KEY_PASS"
 // Security can be WLAN_SEC_UNSEC, WLAN_SEC_WEP, WLAN_SEC_WPA or WLAN_SEC_WPA2
 #define WLAN_SECURITY   WLAN_SEC_WPA2
 


// Variables to hold current state.
int currentScheme = 0;
Pattern currentPattern = RAINBOW_CYCLE;
int currentWidth = 0;
int currentSpeed = 0;

uint8_t buffer[BUFFER_SIZE+1];
int bufindex = 0;

    Serial.println(F("Client disconnected"));
    client.close();
  }
  // Update pixels based on current state.
  if (!isAnimation) {
    if (currentPattern == BARS) {
      bars(schemes[currentScheme], barWidthValues[currentWidth], currentSpeed);
    } else if (currentPattern == GRADIENT) {
      gradient(schemes[currentScheme], gradientWidthValues[currentWidth], currentSpeed);
    }
  } else {
    switch(currentAnimation) {
      case RAINBOWS:
        rainbows(currentSpeed);
        break;
      case RAINBOW_CYCLE:
        rainbowCycle(currentSpeed);
        break;
      case COLOR_WIPE:
        colorWipe(Wheel(random(0, 255)), currentSpeed);
        break;
      case THEATER_CHASE:
        theaterChase(Wheel(random(0, 255)), currentSpeed); // Blue
        break;
      case THEATER_CHASE_RAINBOW:
        theaterChaseRainbow(currentSpeed);
        break;
    }
  }
}

