42#define BMP_I2C_DEV i2c0
46#define BARO_BMP_SIGMA2 0.1
85 float tmp =
baro_bmp.pressure / 101325.0;
86 tmp = pow(tmp, 0.190295);
91 float temp =
baro_bmp.temperature / 10.0f;
Main include for ABI (AirBorneInterface).
#define TEMPERATURE_TYPE_BARO
barometer die
#define BARO_BMP_SENDER_ID
void baro_bmp_periodic(void)
void baro_bmp_event(void)
Bosch BMP085 I2C sensor interface.
void bmp085_init(struct Bmp085 *bmp, struct i2c_periph *i2c_p, uint8_t addr)
void bmp085_event(struct Bmp085 *bmp)
void bmp085_read_eeprom_calib(struct Bmp085 *bmp)
void bmp085_periodic(struct Bmp085 *bmp)
Start new measurement if idle or read temp/pressure.
int32_t pressure
pressure in Pascal
Bosch BMP085 register definitions.
#define BMP085_SLAVE_ADDR
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
arch independent LED (Light Emitting Diodes) API
Architecture independent timing functions.
int int32_t
Typedef defining 32 bit int type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.