Skip to content

Commit

Permalink
Merge pull request #479 from tyeth/fix-bme68x-alt-address
Browse files Browse the repository at this point in the history
Fix driver for BME680 + BME688 using alt address
  • Loading branch information
brentru authored Sep 1, 2023
2 parents 9530572 + f222bcb commit 38c2a35
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 38c2a35

Please sign in to comment.