enwi / BME68X

Bosch BME68X sensor library based on Adafruit_BME680

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BME68X

Library for Bosch BME68X sensors which is heavily based on Adafruit_BME680, but with some optimizations.

Changes and optimizations

  • Use enumerations for Oversampling, FilterSize and ODR settings (Removes extra if statements)
  • Add setConfig function for setting humidity, temperature, pressure oversampling, irr filter size as well as output data rate (Code speed up by ~1second)
  • Option to set a temperature calibration offset with setTOffset which has an influence on humidity and pressure
  • Removed unnecessary casts, calculations and intermediate variables
  • Use constexpr whenever possible

About

Bosch BME68X sensor library based on Adafruit_BME680

License:MIT License


Languages

Language:C 85.7%Language:C++ 14.3%