56 float velocity, diff_pressure,
temp;
59 printf(
"%d.%d,\t%d.%d,\t%d.%d,\t%d.%d\n",
61 (int32_t)velocity, (int32_t)(
fabs(velocity)*1000)%1000,
62 (int32_t)diff_pressure, (int32_t)(
fabs(diff_pressure)*1000)%1000,
63 (int32_t)temp, (int32_t)(temp*1000)%1000,
64 (int32_t)
pressure, (int32_t)(pressure*1000)%1000);
void i2cInit(I2CDevice index)
void ms4525_async_read(float *differential_pressure, float *temp)
static volatile int16_t temp
void ms4525_async_update()