3 #define BMP085_I2C_ADDR 0x77
4 #define BMP085_CHIPID 0x55
7 #define BMP085_CALIB_COEFFS_START 0xAA
8 #define BMP085_CALIB_COEFFS_END 0xBE
9 #define BMP085_REG_CHIPID 0xD0
10 #define BMP085_REG_CONTROL 0xF4
11 #define BMP085_REG_TEMPERATURE_DATA 0xF6 // uses same scratchpad as press
12 #define BMP085_REG_PRESSURE_DATA 0xF6 // uses same scratchpad as temp
13 #define BMP085_CMD_MEAS_TEMPERATURE 0x2E
14 #define BMP085_CMD_MEAS_PRESSURE 0x34
16 #define BMP085_CALIB_COEFFS_LEN (BMP085_CALIB_COEFFS_END - BMP085_CALIB_COEFFS_START + 1)