40 #include "pprzlink/messages.h"
45 #define BMP_I2C_DEV i2c0
48 #define BARO_BMP_R 0.5
49 #define BARO_BMP_SIGMA2 0.1
89 tmp = pow(tmp, 0.190295);
98 #ifdef SENSOR_SYNC_SEND
int32_t up
uncompensated pressure
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
void baro_bmp_periodic(void)
#define BARO_BMP_SENDER_ID
Main include for ABI (AirBorneInterface).
#define BMP085_SLAVE_ADDR
Bosch BMP085 I2C sensor interface.
int32_t temperature
temperature in 0.1 deg Celcius
Architecture independent timing functions.
void bmp085_read_eeprom_calib(struct Bmp085 *bmp)
#define BARO_BOARD_SENDER_ID
default onboard baro
void bmp085_init(struct Bmp085 *bmp, struct i2c_periph *i2c_p, uint8_t addr)
Bosch BMP085 register definitions.
int32_t pressure
pressure in Pascal
volatile bool data_available
data ready flag
bool initialized
config done flag
Common code for AP and FBW telemetry.
arch independent LED (Light Emitting Diodes) API
int32_t ut
uncompensated temperature
void bmp085_periodic(struct Bmp085 *bmp)
Start new measurement if idle or read temp/pressure.
void bmp085_event(struct Bmp085 *bmp)
void baro_bmp_event(void)
Architecture independent I2C (Inter-Integrated Circuit Bus) API.