26 #ifndef AIRSPEED_MS45XX_I2C_H
27 #define AIRSPEED_MS45XX_I2C_H
struct AirspeedMs45xx ms45xx
void ms45xx_i2c_periodic(void)
int16_t temperature
temperature in 0.1 deg Celcius
void ms45xx_i2c_event(void)
float diff_pressure
differential pressure in Pascal
bool sync_send
flag to enable sending every new measurement via telemetry
float airspeed
Airspeed in m/s estimated from differential pressure.
float pressure_scale
scaling factor from raw measurement to Pascal
float airspeed_scale
quadratic scale factor to convert differential pressure to airspeed
void ms45xx_i2c_init(void)
float pressure_offset
offset in Pascal