Closed SV-Zanshin closed 4 years ago
The library should function after doing a [reset()](https://github.com/SV-Zanshin/BME680/wiki/reset()) when using I2C with a specified address
The [reset()](https://github.com/SV-Zanshin/BME680/wiki/reset()) is issued, but the library doesn't remember the original [begin()](https://github.com/SV-Zanshin/BME680/wiki/begin()) parameter value, if specified.
The error is only visible when multiple BME680 devices are present on the bus and the [reset()](https://github.com/SV-Zanshin/BME680/wiki/reset()) is called on the library with 0x77 address.
I've modified the code and now just have to test it with 2 BME680s on the I2C bus
Tests successful. Fix implemented as part of v1.0.6
Expected Behavior
The library should function after doing a [reset()](https://github.com/SV-Zanshin/BME680/wiki/reset()) when using I2C with a specified address
Actual Behavior
The [reset()](https://github.com/SV-Zanshin/BME680/wiki/reset()) is issued, but the library doesn't remember the original [begin()](https://github.com/SV-Zanshin/BME680/wiki/begin()) parameter value, if specified.
Steps to Reproduce the Problem
The error is only visible when multiple BME680 devices are present on the bus and the [reset()](https://github.com/SV-Zanshin/BME680/wiki/reset()) is called on the library with 0x77 address.
Specifications