Struct bmp280::Bmp280 [] [src]

pub struct Bmp280 { /* fields omitted */ }

A single BMP280 sensor

Methods

impl Bmp280
[src]

Will set the relative pressure for ground level readings for .read_altitude().

Reads the altitude from the sensor relative to the given sea level pressure.

Reads the altitude from the sensor relative to the zeroed altitude set by .zero(), Bmp280Builder.ground_pressure(), or Bmp280Builder.build() if you do not set a ground pressure.