Zanduino / BME680

Arduino Library to access the Bosch BME680 - temperature, pressure, humidity and gas sensor
GNU General Public License v3.0
41 stars 10 forks source link

Allow I2C to address a specific BME680 address #9

Closed SV-Zanshin closed 4 years ago

SV-Zanshin commented 4 years ago

The BME680 allows 2 different I2C addresses (0x76 and 0x77). The library currently will check both addresses and use the first one found. But this means that two devices, both using I2C, are not supported. The begin() method should be changed to allow for explicit setting of either address while still being backwards-compatible and allowing no I2C address to be specified.

SV-Zanshin commented 4 years ago

Added new begin() overload and changed wiki documentation