, der an den Webserver übertragen wird
void debugPrint(const String &message) {
#if defined DEBUG
Serial.println(message);
#endif
}
void setup () {
#if def... 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 >>
the Serial Monitor
//Increment boot number and print it every reboot
++bootCount;
Serial.println("Boot number: " + String(bootCount));
esp_sleep_enabl... _wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
Serial.println("Setup ESP32 to sleep for every " + String(TIME... tially its MAC address(length: 6 bytes).
Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32));/
_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
Serial.println("Setup ESP32 to sleep for every " + String(TIME... tially its MAC address(length: 6 bytes).
Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32));//print High 2 bytes
Serial.printf("%08X\n",(uint32_t)chipid);//print Low 4bytes.
// Initialisiert Wire
W