PowerShell-IoT icon indicating copy to clipboard operation
PowerShell-IoT copied to clipboard

Enable Oversampling parameter in BME280 module

Open anmenaga opened this issue 7 years ago • 0 comments

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.

anmenaga avatar Apr 06 '18 21:04 anmenaga