fs1027-dg-hal

Crates.iofs1027-dg-hal
lib.rsfs1027-dg-hal
version0.2.0
sourcesrc
created_at2022-05-12 16:17:31.550786
updated_at2022-11-05 16:43:11.354165
descriptionFS1027-DG Gas Flow Sensor Module driver for no_std embedded-hal
homepagehttps://gitlab.com/tendsinmende/fs1027-dg-hal
repositoryhttps://gitlab.com/tendsinmende/fs1027-dg-hal
max_upload_size
id585343
size19,815
Tendsin Mende (SiebenCorgie)

documentation

https://docs.rs/fs1027-dg-hal/latest/

README

FS1027-DG-hal

crates.io docs.rs dependency status

FS1027-DG Gas Flow Sensor Module driver for no_std embedded-hal

Overview

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.

Example

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

License

Licensed under either of

at your option.

Contributing

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: 18

cargo fmt