mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 06:18:57 +00:00
Update main.cpp
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user