       latemp();
     }
   }
+  server.handleClient();
   ArduinoOTA.handle();
-  vTaskDelay( 100 / portTICK_PERIOD_MS ); // wait / yield time to other tasks
-  server.handleClient();
-}
-
+}
+

int usesenseurdht = 0;
int errdallas = 0;
int errdht = 0;
// end of internally used vars

// stylesheet for web pages



//Serial output (BT+SERIAL)
void logeur(String mess) {
  SerialBT.print(mess);
  delay(20);
  Serial.print(mess);
}

void logeurln(String mess) {
  SerialBT.println(mess);
  delay(20);
  Serial.println(mess);
