Minor style fixes in the bm085 docs
This commit is contained in:
parent
2aeda1b475
commit
d98b19daa2
|
@ -1,6 +1,6 @@
|
||||||
# BMP085 Module
|
# BMP085 Module
|
||||||
|
|
||||||
This module provides access to the BMP085 temperature and pressure sensor. The module also works with BMP180.
|
This module provides access to the [BMP085](https://www.sparkfun.com/tutorials/253) temperature and pressure sensor. The module also works with BMP180.
|
||||||
|
|
||||||
## bmp085.init()
|
## bmp085.init()
|
||||||
Initializes the module and sets the pin configuration.
|
Initializes the module and sets the pin configuration.
|
||||||
|
@ -22,7 +22,7 @@ Samples the sensor and returns the temperature in celsius as an integer multipli
|
||||||
`bmp085.temperature()`
|
`bmp085.temperature()`
|
||||||
|
|
||||||
#### Returns
|
#### Returns
|
||||||
`integer` temperature multiplied with 10.
|
temperature multiplied with 10 (integer)
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
```lua
|
```lua
|
||||||
|
@ -42,10 +42,10 @@ See the data sheet for more information.
|
||||||
`bmp085.pressure(oversampling_setting)`
|
`bmp085.pressure(oversampling_setting)`
|
||||||
|
|
||||||
#### Parameters
|
#### Parameters
|
||||||
- `oversampling_setting` integer that can be 0, 1, 2 or 3.
|
`oversampling_setting` integer that can be 0, 1, 2 or 3
|
||||||
|
|
||||||
#### Returns
|
#### Returns
|
||||||
`integer` pressure in pascals.
|
pressure in pascals (integer)
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
```lua
|
```lua
|
||||||
|
@ -61,7 +61,7 @@ Samples the sensor and returns the raw pressure in internal units. Might be usef
|
||||||
`bmp085.pressure_raw(oversampling_setting)`
|
`bmp085.pressure_raw(oversampling_setting)`
|
||||||
|
|
||||||
#### Parameters
|
#### Parameters
|
||||||
- `oversampling_setting` integer that can be 0, 1, 2 or 3.
|
`oversampling_setting` integer that can be 0, 1, 2 or 3
|
||||||
|
|
||||||
#### Returns
|
#### Returns
|
||||||
`integer` raw pressure sampling value
|
raw pressure sampling value (integer)
|
||||||
|
|
Loading…
Reference in New Issue