pimoroni / bme680-python

Python library for the BME680 gas, temperature, humidity and pressure sensor.
https://shop.pimoroni.com/products/bme680
MIT License
271 stars 96 forks source link

Add constants for gas heat enable/disable #41

Closed Gadgetoid closed 3 years ago

Gadgetoid commented 3 years ago

Since the logic is reversed and setting the heat_off bit to 1 disables the heater, these constants should avoid confusion.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 831168141


Files with Coverage Reduction New Missed Lines %
bme680/constants.py 1 99.62%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 830992633: 0.06%
Covered Lines: 423
Relevant Lines: 501

💛 - Coveralls