45 printf(
"Pressure: %d.%d Pa\tTemperature: %d.%d K, i2c_errors: %d\n",
47 (int32_t) (pressure*1000) % 1000,
48 (int32_t) temperature,
49 (int32_t) (temperature*1000) % 1000,
56 printf(
"MS5611 unavailable\n");
uint16_t i2cGetErrorCounter(void)
void i2cInit(I2CDevice index)
bool i2cWrite(uint8_t addr_, uint8_t reg_, uint8_t data)
void ms5611_async_update()
void ms5611_async_read(float *pressure, float *temperature)