diff --git a/Adafruit_BME680.h b/Adafruit_BME680.h index be43010..a2fc8a7 100644 --- a/Adafruit_BME680.h +++ b/Adafruit_BME680.h @@ -74,6 +74,7 @@ class Adafruit_BME680 { Adafruit_BME680(TwoWire *theWire = &Wire); Adafruit_BME680(int8_t cspin, SPIClass *theSPI = &SPI); Adafruit_BME680(int8_t cspin, int8_t mosipin, int8_t misopin, int8_t sckpin); + void setWire(TwoWire *theWire = &Wire) {_wire = theWire;} bool begin(uint8_t addr = BME68X_DEFAULT_ADDRESS, bool initSettings = true); float readTemperature();