_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
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));/
// e-Paper Display Waveshare 7,5 Zoll
Serial.println();
Serial.println("Setup Display");
display.init(115200); // enable diagnostic output on Serial
display.setRotation(0);
Serial.println("Setup done");
// Air Quality Sensor SGP30
if (! sgp.begin()){
Serial.println("Sensor not found :(");
while (1);
}
Se
_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
_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
// DHT22
unsigned long previousMillisSerialPrint = 0; // Serielle Ausgabe
unsigned long previo... mperatursensors
const unsigned long intervalSerialPrint = 100; // konstanter Delay für serielle Ausgab... läuft
if (timeStatus()!= timeSet) {
Serial.println("Unable to sync with the RTC");
} else {
Serial.println("RTC has set the system time");
}
//Initia
llisEffect = 0;
unsigned long previousMillisSerialPrint = 0;
// Definiert die Intervalle für die IF-Abfr... // Delay für Effekte
int intervalSerialPrint = 1000; // Delay für serielle Aus... begin();
// locate devices on the bus
Serial.print("Locating devices...");
Serial.print("Found ");
Serial.print(sensors.getDeviceCount(), DEC);
Seria
on) {
oldPosition = newPosition;
//Serial.println(newPosition);
}
// FFT
float n;
int ... // each time new FFT data is available
// print it all to the Arduino Serial Monitor
Serial.print("FFT: ");
for (i=0; i<40; i++) {
n = fft... _1.read(i);
if (n >= 0.01) {
Serial.print(n);
Serial.print(" ");
} else {