rc_bmp_oversample_t
Definition: bmp.h:30
double alt_m
altitude in meters
Definition: bmp.h:58
update rate 182 HZ
Definition: bmp.h:31
double pressure_pa
current pressure in pascals
Definition: bmp.h:59
update rate 28 HZ
Definition: bmp.h:35
double temp_c
temperature in degrees celcius
Definition: bmp.h:57
rc_bmp_filter_t
Definition: bmp.h:44
int rc_bmp_read(rc_bmp_data_t *data)
Reads the newest temperature and pressure measurments from the barometer over the I2C bus...
int rc_bmp_init(rc_bmp_oversample_t oversample, rc_bmp_filter_t filter)
powers on the barometer and initializes it with the given oversample and filter settings.
update rate 133 HZ
Definition: bmp.h:32
update rate 51 HZ
Definition: bmp.h:34
update rate 87 HZ
Definition: bmp.h:33
int rc_bmp_power_off(void)
Puts the barometer into a low power state, should be called at the end of your program before close...
struct rc_bmp_data_t rc_bmp_data_t
int rc_bmp_set_sea_level_pressure_pa(double pa)
If you know the current sea level pressure for your region and weather, you can use this to correct t...