fix test back
This commit is contained in:
parent
63357a0d5e
commit
7925877494
|
|
@ -40,7 +40,8 @@ void setup() {
|
||||||
bool status;
|
bool status;
|
||||||
|
|
||||||
// default settings
|
// default settings
|
||||||
status = bme.begin(&Wire1);
|
// (you can also pass in a Wire library object like &Wire2)
|
||||||
|
status = bme.begin();
|
||||||
if (!status) {
|
if (!status) {
|
||||||
Serial.println("Could not find a valid BME280 sensor, check wiring!");
|
Serial.println("Could not find a valid BME280 sensor, check wiring!");
|
||||||
while (1);
|
while (1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue