4 releases
0.2.0 | Nov 5, 2022 |
---|---|
0.1.2 | May 13, 2022 |
0.1.1 | May 12, 2022 |
0.1.0 | May 12, 2022 |
#850 in Embedded development
10KB
81 lines
FS1027-DG-hal
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.
Dependencies
~71KB