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