This library is designed for BMP085 temperature and pressure sensor.
Importing into OpenPicus IDE
Import ALL the files of the library using the button “external lib” of the IDE, then Include BMP085.h in the files in which you want to use the functions (using the directive #include “BMP085.h”).
|BMP085_ADDRESS||Contains the I2C address of the BMP085. Default on 0xEE.|
|[extern] float BMP085temperature, BMP085pressure;||These variables are defined in the BMP085.c library and can be used to contain the specific values. Declare them extern float.|
Function to read the calibration data from the BMP085.
Function to set the read both the temperature and the barometric pressure.
void bmp085_read_temperature_and_pressure (&BMP085temperature,&BMP085pressure);
|float BMP085temperature||temperature value (°C)|
|float BMP085pressure||barometric pressure value (mbar)|