       Serial.println(ereur);
       delay(200);
       if (sensors.getAddress(insideThermometer, 0)) {
-        ereur = 5;
+        ereur = 6;
         marchetu = 0;
       }
-    } while (ereur <= 5);
+    } while (ereur < 5);
     if (marchetu != 0) {
       Serial.println("Erreure senseurs 0 non fonctionnel !");
     }

  while (1) {
    if ( r != rouge || g != vert || b != bleu || flashoufade != 0 ) {
      lumiereloop();
      vTaskDelay( 7 / portTICK_PERIOD_MS ); // wait / yield time to other tasks
    } else {
      vTaskDelay( 20 / portTICK_PERIOD_MS ); // wait / yield time to other tasks
    }
  }
}

  }
}
void lumiereloop() {
  unsigned long currentMillis = millis();
  if (flashoufade == 1) {
    if (currentMillis - previousMillisf >= attendF) {
      flashfunk();
      previousMillisf = currentMillis;
