adafruit / Adafruit_CircuitPython_BME680

CircuitPython driver for BME680
MIT License
57 stars 40 forks source link

Fix https://github.com/adafruit/Adafruit_CircuitPython_BME680/issues/67 #68

Closed CTho9305 closed 9 months ago

CTho9305 commented 10 months ago

Apply the fix suggested @antoine-sac after rechecking Bosch's example code, and allow the gas reading to be disabled entirely by calling set_gas_heater(None, None) in case somebody does not need the gas reading.

FoamyGuy commented 9 months ago

Thanks for the additional insight into the code.

I tried testing this on a very old BME680 that I have but wasn't having any luck getting it connected properly (likely not related to these changes, I think my wiring is improper). I have a newer one otw with a simpler and more widely compatible way to connect. Once I've got that in hand I'll give this a test and merge if all is well.