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()
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()`
#### Returns
`integer`temperature multiplied with 10.
temperature multiplied with 10 (integer)
#### Example
```lua
...
...
@@ -42,10 +42,10 @@ See the data sheet for more information.
`bmp085.pressure(oversampling_setting)`
#### Parameters
-`oversampling_setting` integer that can be 0, 1, 2 or 3.
`oversampling_setting` integer that can be 0, 1, 2 or 3
#### Returns
`integer`pressure in pascals.
pressure in pascals (integer)
#### Example
```lua
...
...
@@ -61,7 +61,7 @@ Samples the sensor and returns the raw pressure in internal units. Might be usef
`bmp085.pressure_raw(oversampling_setting)`
#### Parameters
-`oversampling_setting` integer that can be 0, 1, 2 or 3.
`oversampling_setting` integer that can be 0, 1, 2 or 3