Skip to content

Commit

Permalink
Fix driver for BME680 + BME688 using alt address
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Aug 31, 2023
1 parent 9530572 commit f222bcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class WipperSnapper_I2C_Driver_BME680 : public WipperSnapper_I2C_Driver {
_bme = new Adafruit_BME680(_i2c);

// attempt to initialize BME680
if (!_bme->begin())
if (!_bme->begin(_sensorAddress))
return false;

// Set up oversampling and filter initialization
Expand Down

0 comments on commit f222bcb

Please sign in to comment.