BME680 constructor

BME680(
  1. I2C i2c, [
  2. int i2cAddress = bme680DefaultI2Caddress
])

Creates a BME680 sensor instance that uses the i2c bus with the optional i2cAddress.

Default bme680DefaultI2Caddress = 0x76, bme680AlternativeI2Caddress = 0x77

Implementation

BME680(this.i2c, [this.i2cAddress = bme680DefaultI2Caddress]) {
  _initialize();
}