Crates.io | fs1027-dg-hal |
lib.rs | fs1027-dg-hal |
version | 0.2.0 |
source | src |
created_at | 2022-05-12 16:17:31.550786 |
updated_at | 2022-11-05 16:43:11.354165 |
description | FS1027-DG Gas Flow Sensor Module driver for no_std embedded-hal |
homepage | https://gitlab.com/tendsinmende/fs1027-dg-hal |
repository | https://gitlab.com/tendsinmende/fs1027-dg-hal |
max_upload_size | |
id | 585343 |
size | 19,815 |
FS1027-DG Gas Flow Sensor Module driver for no_std embedded-hal
The crate uses the common embeded-hal crate to provided a generic implementation for multiple HALs.
It implements value verification as well as conversion into liters/min.
The esp32-hal example creates the I²C master and tries to read sensor data on pin 1 and 2. Build and run via:
cargo espflash --release /dev/ttyUSB0 && espmonitor /dev/ttyUSB0
Licensed under either of
at your option.
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.