Crate bmp085_180_rs

Source
Expand description

This crate provides a driver for both the BMP085 and BMP180 digital pressure sensors, which additionally provide the ability to measure temperature.

The driver implements both embedded-hal and embedded-hal-async traits for ease of use with any compatible chipset HAL.

§Features

The default working mode is sync (blocking). To use non-blocking calls, enable the async feature:

bmp085-180-rs = { version = "1.0.0", features = [ "async" ] }

§Usage

See the following driver methods:

§BMP::read_temperature
§BMP::read_pressure
§BMP::read_altitude

Structs§

BMP
BMP085/BMP180 driver.
Config
Driver configuration, used only during driver initialization.

Enums§

BMPError
All possible errors in this crate
Oss
Used to configure the driver’s oversampling setting. The higher the value, the more measurements are taken and more accurate the results are, although the measurement will take longer. Only applies to pressure measurements.