From c16541a039707cd6da796c9df9d6093ac9ba1703 Mon Sep 17 00:00:00 2001 From: Alexandre B Date: Sun, 7 Jul 2024 16:38:42 -0400 Subject: [PATCH] Update main.cpp --- ESP32-BME280/src/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ESP32-BME280/src/main.cpp b/ESP32-BME280/src/main.cpp index 861e6e18..72da7d1d 100644 --- a/ESP32-BME280/src/main.cpp +++ b/ESP32-BME280/src/main.cpp @@ -52,6 +52,15 @@ void setup() { sensors_values.pressure = bme.readPressure() / 100.0F; sensors_values.temperature = bme.readTemperature(); Serial.println("All values were measured."); + Serial.print("Temperature: "); + Serial.print(sensors_values.temperature); + Serial.println(); + Serial.print("Pressure: "); + Serial.print(sensors_values.pressure); + Serial.println(); + Serial.print("Humidity: "); + Serial.print(sensors_values.humidity); + Serial.println(); } #endif #ifdef BMP280