VersBinarii / bme280-rs

A platform agnostic Rust driver for the Bosch BM[PE]-280
Other
59 stars 73 forks source link

Ability to configure oversampling and IIR filter #19

Closed mrd0ll4r closed 2 years ago

mrd0ll4r commented 2 years ago

Hey,

looking through the source, the configure function sets a bunch of options, notably the oversampling and IIR filter settings. For our application, it'd be nice to change those, especially the IIR filter, since we're using this for something like weather monitoring, with a very low sample rate. Any chance you could add a parameter for configuration values to init, maybe?

Best, Leo

VersBinarii commented 2 years ago

Its definitely something that can be added. I dont have a whole lot of time lately so PR's are welcome. Otherwise i'll try to look at this over next few weeks.

VersBinarii commented 2 years ago

Closed with https://github.com/VersBinarii/bme280-rs/pull/20