adafruit / Adafruit_BMP280_Library

Arduino Library for BMP280 sensors
253 stars 186 forks source link

Add support for Relative Humidity #17

Closed lyakh closed 5 years ago

lyakh commented 6 years ago

Add a method to read Relative Humidity, the algorithm is a near copy of the code in the BME280 datasheet and the BME280 library by Bosch Sensortec GmbH.

Signed-off-by: Guennadi Liakhovetski g.liakhovetski@gmx.de

narmontas commented 6 years ago

BMP280 does not contain humidity sensor. BME280 does, but this library is not for it.

lyakh commented 6 years ago

Hi Nerijus,

I see your point, but (1) it would be silly to make an additional library for BME280, it makes much more sense to extend the existing BMP280 library, and (2) the current version already contains some reference to humidity fields, only present on BME280: e.g. the calibration data struct bmp280_calib_data already contains dig_H1...dig_H6.

Thanks Guennadi

On Fri, 13 Apr 2018, Nerijus Narmontas wrote:

BMP280 does not contain humidity sensor. BME280 does, but this library is not for it.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/adafruit/Adafruit_BMP280_Library/pull/17#issuecomment-381189166

ladyada commented 5 years ago

hiya thanks for the addition but we wanna keep the libraries separte!