Zanduino / BME680

Arduino Library to access the Bosch BME680 - temperature, pressure, humidity and gas sensor
GNU General Public License v3.0
37 stars 10 forks source link

Add function "getIIRFilter()" to read the IIR Filter values from the BME680 #18

Closed SV-Zanshin closed 4 years ago

SV-Zanshin commented 4 years ago

Is your feature request related to a problem? Please describe. I have had a request to add this function to the library, at the moment the library contains no means of reading the current settings.

Describe the solution you'd like Add the "getIIRFilter()" function to the library with the same parameters as the [setIIRFilter()](https://github.com/SV-Zanshin/BME680/wiki/setIIRFilter()) function.

Describe alternatives you've considered None, if the user wants to read the current settings.

Additional context None required

Zanshin Logo

SV-Zanshin commented 4 years ago

The functionality already exists in the [setIIRFilter()](https://github.com/SV-Zanshin/BME680/wiki/setIIRFilter()) function. When called with no parameters, the current setting is returned as the function value.