BME680 fix hPA unit
This commit is contained in:
parent
e68eec8955
commit
cbce043f30
@ -94,7 +94,7 @@ int BME680BSECGetMeasure(float &t, float &p, float &h, float &iaq, float &iaqAcc
|
|||||||
{
|
{
|
||||||
if (iaqSensor.run()) { // If new data is available
|
if (iaqSensor.run()) { // If new data is available
|
||||||
t = iaqSensor.temperature;
|
t = iaqSensor.temperature;
|
||||||
p = iaqSensor.pressure;
|
p = iaqSensor.pressure/100;
|
||||||
h = iaqSensor.humidity;
|
h = iaqSensor.humidity;
|
||||||
iaq = iaqSensor.iaq;
|
iaq = iaqSensor.iaq;
|
||||||
iaqAcc = iaqSensor.iaqAccuracy;
|
iaqAcc = iaqSensor.iaqAccuracy;
|
||||||
|
Loading…
Reference in New Issue
Block a user