adafruit / Adafruit_BMP280_Library

Arduino Library for BMP280 sensors
255 stars 186 forks source link

Min Value swapped with Max Value #47

Closed AlexZibin closed 3 years ago

AlexZibin commented 3 years ago

I've compiled the example code, everything woks great except that Min Value is swapped with Max Value. Here's the output:

BMP280 Sensor event test
------------------------------------
Sensor:       BMP280
Type:         Ambient Temp (C)
Driver Ver:   1
Unique ID:    280
Min Value:    85.00
Max Value:    -40.00
Resolution:   0.01
------------------------------------

Temperature = 23.46 *C
Pressure = 1012.14 hPa
ladyada commented 3 years ago

woops, can you submit a PR to fix / swap the numbers? :)

caternuson commented 3 years ago

See #48 . Looks like same typo was in the pressure characterization also. Fixes both.

caternuson commented 3 years ago

Closing. Fixed by #48. Thanks again @AlexZibin for pointing this out.