PowerShell-IoT
PowerShell-IoT copied to clipboard
Enable Oversampling parameter in BME280 module
Get-BME280Data/Set-BME280Config functions have Oversampling parameter, but it currently does nothing.
This parameter should be tied to binary value used in Set-BME280Config function according to sensor datasheet.
Currently oversampling of data is set to ×2 by constants like this: [Convert]::ToByte("01001001",2).
This should be changed to be based on Oversampling parameter.