Crates.io | lps22hb |
lib.rs | lps22hb |
version | 0.1.0 |
source | src |
created_at | 2021-04-17 17:45:54.80382 |
updated_at | 2021-12-08 18:07:55.776703 |
description | A platform agnostic driver to interface with LPS22HB pressure sensor module. |
homepage | |
repository | https://github.com/nebelgrau77/lps22hb-rs |
max_upload_size | |
id | 385840 |
size | 52,602 |
A platform agnostic Rust driver for the ST Microelectronics LPS22HB pressure sensor,
based on the embedded-hal
traits.
Inspired by and partially based on another STMicroelectronics MEMS driver.
This driver allows you to:
This library is work in progress. Not all features are implemented yet. Currently only the I2C interface is implemented. Contributions are welcome.
The LPS22HB is an ultra-compact piezoresistive absolute pressure sensor which functions as a digital output barometer. The device comprises a sensing element and an IC interface which communicates through I2C or SPI from the sensing element to the application.
Datasheet: LPS22HB
To use this driver, import this crate and an embedded_hal
implementation,
then instantiate the device.
Please find additional examples using hardware in this repository: examples
For questions, issues, feature requests, and other changes, please file an issue in the github project.
Licensed under either of
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.