bmp180-embedded-hal

Crates.iobmp180-embedded-hal
lib.rsbmp180-embedded-hal
version0.1.0
sourcesrc
created_at2024-05-12 11:41:30.791315
updated_at2024-05-12 11:41:30.791315
descriptionA platform agnostic driver to interface with the BMP180 barometric pressure sensor.
homepage
repositoryhttps://github.com/JadKHaddad/bmp180
max_upload_size
id1237388
size38,076
Jad K. Haddad (JadKHaddad)

documentation

README

BMP180

A platform agnostic driver to interface with the BMP180 (pressure sensor) using the embedded-hal and embedded-hal-async traits.

Features

The following features are available:

  • blocking: enables blocking functionality.
  • async: enables asynchronous functionality.
  • log: enables debug logging using the log crate.
  • defmt: enables debug logging using the defmt crate.
  • impl-debug: implements core::fmt::Debug for structs and enums.
  • impl-defmt-format: implements defmt::Format for structs and enums.
  • fuzz: enables the fuzz module for fuzz testing.
  • disable-arithmetic-checks: disables arithmetic checks.
  • i-know-what-i-am-doing: allows you to split an initialized device into its parts and put it back together. Useful when you want to release the I2C bus and use it for something else. This is not recommended though, you can use embedded-hal-bus or embassy-embedded-hal to share the I2C bus.

Usage

See examples directory.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 50

cargo fmt