From e1fad509c836f4eb19f2fa83772caaa27e64b065 Mon Sep 17 00:00:00 2001 From: Alexandre B Date: Sun, 7 Jul 2024 13:56:17 -0400 Subject: [PATCH] Update main.cpp --- ESP32-BME280/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP32-BME280/src/main.cpp b/ESP32-BME280/src/main.cpp index 0d6659870..b7c3cad0a 100644 --- a/ESP32-BME280/src/main.cpp +++ b/ESP32-BME280/src/main.cpp @@ -43,7 +43,7 @@ void setup() { } #endif #ifdef BMP280 - unsigned status = bmp.begin(); + unsigned status = bmp.begin(0x58); if (!status) { Serial.println("Could not find a valid BME/BMP280 sensor, check wiring!"); Serial.print("SensorID was: 0x"); Serial.println(bme.sensorID(), 16);