Update main.cpp

This commit is contained in:
2024-07-07 13:56:17 -04:00
parent 680278da6b
commit e1fad509c8

View File

@@ -43,7 +43,7 @@ void setup() {
} }
#endif #endif
#ifdef BMP280 #ifdef BMP280
unsigned status = bmp.begin(); unsigned status = bmp.begin(0x58);
if (!status) { if (!status) {
Serial.println("Could not find a valid BME/BMP280 sensor, check wiring!"); Serial.println("Could not find a valid BME/BMP280 sensor, check wiring!");
Serial.print("SensorID was: 0x"); Serial.println(bme.sensorID(), 16); Serial.print("SensorID was: 0x"); Serial.println(bme.sensorID(), 16);