33 #if defined(PIOS_INCLUDE_ETASV3)
37 static bool PIOS_ETASV3_Read(uint8_t * buffer, uint8_t len)
54 uint8_t airspeed_raw[2];
56 if (PIOS_ETASV3_Read(airspeed_raw,
sizeof(airspeed_raw)) != 0) {
61 return (airspeed_raw[0] | (airspeed_raw[1]<<8));
Main PiOS header to include all the compiled in PiOS options.
int32_t PIOS_I2C_Transfer(pios_i2c_t i2c_id, const struct pios_i2c_txn txn_list[], uint32_t num_txns)
ETASV3 Airspeed Sensor Driver.
int16_t PIOS_ETASV3_ReadAirspeed(void)