Adopted improvements from BME280 library
Adopted some of the improvements from the BME280 library. Thanks @jraber.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-bmp280
.
Read the docs for info on how to use it.