switch to hPA

This commit is contained in:
Cedric Girard 2019-05-07 20:51:29 +02:00
parent eb6fecc04c
commit 55e47e6c8e
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4

View file

@ -149,7 +149,7 @@ void loop() {
//Read Temperature, humidity and pressure
float temp(NAN), hum(NAN), pres(NAN);
BME280::TempUnit tempUnit(BME280::TempUnit_Celsius);
BME280::PresUnit presUnit(BME280::PresUnit_Pa);
BME280::PresUnit presUnit(BME280::PresUnit_hPa);
bme.read(pres, temp, hum, tempUnit, presUnit);