Update main.cpp

This commit is contained in:
2024-07-07 14:54:52 -04:00
parent 660471343e
commit 78488bdf5e

View File

@@ -42,7 +42,7 @@ void setup() {
#endif #endif
#ifdef BMP280 #ifdef BMP280
Adafruit_BMP280 bmp; Adafruit_BMP280 bmp;
unsigned status = bmp.begin(0x58); //0x58 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(bmp.sensorID(), 16); Serial.print("SensorID was: 0x"); Serial.println(bmp.sensorID(), 16);