pimoroni / enviro

MIT License
101 stars 79 forks source link

Add BME688 module with a framework for adding new QW/ST modules #188

Open sjefferson99 opened 11 months ago

sjefferson99 commented 11 months ago

Adding the BME688 so I can get offboard temperature readings to compare with the onboard BME280 on the weather board seemingly affected by heat dissipated from running constantly.

Module code is defined in a new enviro subfolder and called with some modification to __init__.py with users able to enable the module, including those with non-default addresses by adjusting the entry in config.py.

Documentation updated to show the new module as a tutorial for adding others. This extends the changes in #184

After spending half a day building this, I've just seen #143 which has a fairly similar approach for a different new module. I'm leaving this PR for discussion purposes as the solutions differ here and there.