adafruit / Adafruit_CircuitPython_BME280

CircuitPython driver for the BME280
MIT License
64 stars 42 forks source link

Added dew point, updated example #12

Closed kattni closed 6 years ago

kattni commented 6 years ago

Added per #11

Added dew point calculation using Magnus formula. Checked against online dew point calculator, matches. Updated example to include dew point reading.

ladyada commented 6 years ago

looks good to me, just need a linty and ill merge!

kattni commented 6 years ago

I pylint: disabled it because that's the constant used in the formula.

tannewt commented 6 years ago

Sorry I didn't get to this sooner. I don't think it should go in this library because its not specific to the BME280 at all. Please remove it so people don't start using it.

Instead, a generic Python library like meteocalc should be used.