switch to hPA
This commit is contained in:
parent
eb6fecc04c
commit
55e47e6c8e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue