mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
.
This commit is contained in:
parent
8b3bcef08e
commit
cc4aaa24cb
@ -18,7 +18,8 @@ void setup() {
|
||||
Serial.println("GPIO setup done");
|
||||
|
||||
Serial.println("Setting up BME280 sensor");
|
||||
unsigned status = bme.begin(0x76); // 0x76
|
||||
Wire.setPins(SDA_PIN, SCL_PIN);
|
||||
/*unsigned status = bme.begin(0x76); // 0x76
|
||||
if (!status) {
|
||||
Serial.println("Could not find a valid BME/BMP280 sensor, check wiring!");
|
||||
Serial.print("SensorID was: 0x"); Serial.println(bme.sensorID(),16);
|
||||
@ -32,7 +33,7 @@ void setup() {
|
||||
digitalWrite(LED_PIN, HIGH);
|
||||
delay(250);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user