This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_bmp_init

Function Documentation

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.

Optionally call rc_bmp_set_sea_level_pressure_pa afterwards to change the sea level pressure from default.

  • oversample[in] see rc_bmp_oversample_t

  • filter[in] see rc_bmp_filter_t


0 on success, otherwise -1.