Skip to content

Commit 7925877

Browse files
committed
fix test back
1 parent 63357a0 commit 7925877

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/bme280test/bme280test.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ void setup() {
4040
bool status;
4141

4242
// default settings
43-
status = bme.begin(&Wire1);
43+
// (you can also pass in a Wire library object like &Wire2)
44+
status = bme.begin();
4445
if (!status) {
4546
Serial.println("Could not find a valid BME280 sensor, check wiring!");
4647
while (1);

0 commit comments

Comments
 (0)