fix test back

This commit is contained in:
ladyada 2017-09-12 19:17:03 -04:00
parent 63357a0d5e
commit 7925877494
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ void setup() {
bool status;
// default settings
status = bme.begin(&Wire1);
// (you can also pass in a Wire library object like &Wire2)
status = bme.begin();
if (!status) {
Serial.println("Could not find a valid BME280 sensor, check wiring!");
while (1);