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

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

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