Function rc_bmp_read#
Defined in File bmp.h
Function Documentation#
-
int rc_bmp_read(rc_bmp_data_t *data)#
Reads the newest temperature and pressure measurments from the barometer over the I2C bus.
- Parameters:
data – pointer to data struct where new data will be written.
- Returns:
0 on success, -1 on failure