3 releases (1 stable)

1.0.0 Jun 9, 2024
0.2.0 May 20, 2024
0.1.0 May 15, 2024

#1481 in Embedded development

MIT license

22KB
392 lines

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.

License

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

Dependencies

~2MB
~48K SLoC