Skip to content

marti157/bmp085-180-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.