, der an den Webserver übertragen wird
void debugPrint(const String &message) {
#if defined DEBUG
Se... er_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
debugPrint("Setup ESP32 to sleep for every " + String(TIME_T... ntlichen die MAC-Adresse (Länge: 6 Bytes).
debugPrint("ESP32 Chip ID = " + String((uint16_t)(chipid >> ... // SDA, SCL
// Verbindungsaufbau WLAN
debugPrint("Connecting to " + String(WIFI_SSID));
WiFi.beg
ensor not found :(");
while (1);
}
Serial.print("SGP30 serial number ");
Serial.print(sgp.serialnumber[0], HEX);
Serial.print(sgp.serialnumber[1], HEX);
Serial.println(sgp.serialnumber[2... t failed");
return;
}
//Serial.print("TVOC "); Serial.print(sgp.TVOC); Serial.print("
the Serial Monitor
//Increment boot number and print it every reboot
++bootCount;
Serial.println("... ("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32));//print High 2 bytes
Serial.printf("%08X\n",(uint32_t)chipid);//print Low 4bytes.
// Initialisiert Wire
Wire.begin... != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println(" Connected!");
Seri