Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.5 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.5 KB

Rust driver for BMP085 & BMP180

Build Crate Documentation

bmp085-180-rs is a no-std Rust driver implementation for the BMP085 & BMP180 sensors using embedded-hal traits, for integration with most target platforms.

The Bosch BMP085 & BMP180 are barometric pressure & temperature sensor modules. Both are no longer in production.

Installation

$ cargo add bmp085-180-rs

Features

Feature Description
sync Blocking transactions
async Non-blocking transactions

Usage

If you require async support, make sure to enable the following feature in your Cargo.toml:

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

The default is sync.

See examples for both blocking & async usage with esp32 or ch32.

License

The MIT License (MIT). Please see LICENSE for more information.