From 81ee3c9e94f6e669e35a3a5b75bf20e489f2b98e Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sat, 4 Oct 2025 05:31:06 -0400 Subject: [PATCH] esp32 temperature node --- ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c index 306bd5e6b..f34dc8ed4 100644 --- a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c +++ b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c @@ -20,6 +20,8 @@ #include "config.h" static const char *TAG = "esp32 node"; + +// The three variables for storing the sensor readings (float for decimals) float temperature = 0.0f, humidity = 0.0f, pressure = 0.0f; int i2c_master_port = 0;