 LEDAnimations *animations;
 SpectrumEqualizer *spectrum;
 
-// TCPClient client;
-// byte server[] = { 192, 168, 1, 103 };
-// int tcpPort = 54555;
-/*int hueValue = 100;*/
+TCPClient client;
+byte server[] = { 192, 168, 1, 125 };
+int tcpPort = 54555;
+
+int hueValue = 100;
 
 /*SYSTEM_MODE(MANUAL);*/
 /*SYSTEM_THREAD(ENABLED);*/


int nextMode(String mode) {
    int currentPattern = animations->nextPattern();
    /*char currentPatternString[5];
    sprintf(currentPatternString, "%i", currentPattern);
    Particle.publish("Current Pattern", currentPatternString);*/
    return 1;
}


  }

void loop() {
    if(client.connected()) {
        readColorFromRemote();
    } else {
      connectToRemote();
    }

    animations->runCurrentAnimation();
    FastLED.show();
