adafruit / Adafruit_BME680

127 stars 76 forks source link

Enable/disable gas heater and fix for gas_resistance #19

Closed jib218 closed 5 years ago

jib218 commented 5 years ago

This pull request disables and enables the gas heater in the method setGasHeater. Furthermore, I adjusted Adafruit_BME680::begin in order to make the initialization of the sensor settings optional. I also fixed the gas_resistance which is now reset if the gas heater is turned off.

ladyada commented 5 years ago

yay!