adafruit / Adafruit_BMP280_Library

Arduino Library for BMP280 sensors
253 stars 186 forks source link

Fix filter and pressure bitshift #19

Closed Ivoz closed 5 years ago

Ivoz commented 5 years ago

Follows the same format as a found error in the BME280 library, see

https://github.com/adafruit/Adafruit_BME280_Library/pull/39

Bosch's own bitmasks can be found here, for reference:

https://github.com/BoschSensortec/BMP280_driver/blob/bmp280_v3.0.0/bmp280_defs.h#L230-L245

ladyada commented 5 years ago

thanks :)

ladyada commented 5 years ago

@hoffmannjan plz bump!

hoffmannjan commented 5 years ago

@ladyada done!