 #include <ESP8266mDNS.h>
 #include <Adafruit_NeoPixel.h>
 
+#define BlueLed 2
 
 #define PIN   0 // GPIO.2 reservé a la led bleu du ESP
 #define NbLED 4


void setup ( void ) {
    digitalWrite(2, LOW);
      
    strip.begin();
    strip.show();


        Serial.println ( "MDNS responder started" );
    }
    server.on ( "/", []() {handleRoot();} );
    server.on ( "/rainbow", []()  {Choix = "Rainbow"; 
    digitalWrite(BlueLed, LOW); handleRoot(); } );
    server.on ( "/theatre", []()  {Choix = "theaterChaseRainbow"; 
    digitalWrite(BlueLed, LOW); handleRoot();} );
    server.on ( "/neige", []()    {Choix = "neige"; 
    digitalWrite(BlueLed, LOW); handleRoot();} );
    server.on ( "/Gyro", []()    {Choix = "Gyro"; 
    digitalWrite(BlueLed, LOW); handleRoot();} );
    server.on ( "/color", []()    {Choix = "color"; 
    digitalWrite(BlueLed, LOW); handleRoot();} );
    server.onNotFound ( handleNotFound );
    server.begin();
    Serial.println ( "HTTP server started" );
