@@ -23,8 +23,8 @@ altitude in meters of measurement point
...
@@ -23,8 +23,8 @@ altitude in meters of measurement point
## bme280.baro()
## bme280.baro()
Reads the sensor and returns the air pressure in hectopascals as an integer multiplied with 1000 or `nil` when readout is not successful.
Reads the sensor and returns the air temperature in hectopascals as an integer multiplied with 1000 or `nil` when readout is not successful.
Current temperature is needed to calculate the air pressure so temperature reading is performed prior reading pressure data. Second returned variable is therefore current air temperature.
Current temperature is needed to calculate the air pressure so temperature reading is performed prior reading pressure data. Second returned variable is therefore current temperature.
#### Syntax
#### Syntax
`bme280.baro()`
`bme280.baro()`
...
@@ -196,4 +196,4 @@ none
...
@@ -196,4 +196,4 @@ none
#### Returns
#### Returns
-`T` temperature in celsius as an integer multiplied with 100 or `nil` when readout is not successful
-`T` temperature in celsius as an integer multiplied with 100 or `nil` when readout is not successful
-`t_fine` temperature measure used in pressure and humidity compensation formulas (generally no need to use this value)
-`t_fine` temperature measure used in pressure and humidity compensation formulas (generally no need to use this value)