Commit d5590001 authored by dirkju's avatar dirkju Committed by Marcel Stör
Browse files

Fixed typo in bme280 module doc (#1437)

parent be047ff7
...@@ -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 temperature in hectopascals as an integer multiplied with 1000 or `nil` when readout is not successful. Reads the sensor and returns the air pressure 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 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 air 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)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment