diff --git a/platformio.ini b/platformio.ini index 5f7b76e..3cce0d1 100644 --- a/platformio.ini +++ b/platformio.ini @@ -6,6 +6,7 @@ ; Advanced options: extra scripting ; ; Temperatur messen und an MQTT senden +; [env:dfrobot_firebeetle2_esp32e] platform = espressif32 diff --git a/src/main.cpp b/src/main.cpp index 16ce5ad..b1fcc32 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -52,6 +52,7 @@ void readSensor() { } } + void setup() { Serial.begin(115200); // Initialize the serial port