Embedded hal based Rust Sensirion Sgpc3 driver
Platform agnostic Rust driver for Sensirion SGPC3 gas sensor using the embedded-hal
traits.
Sensirion SGPC is a low-power accurate gas sensor for air quality application. The sensor has different sampling rates to optimize power-consumption per application bases as well as ability save and set the baseline for faster start-up accuracy. The sensor uses I²C interface and measures TVOC (Total Volatile Organic Compounds)
Datasheet: https://www.sensirion.com/file/datasheet_sgpc3
For use in 'no_std' environments, use the no_std
feature. Add this to your Cargo.toml
sgpc3 = {version = "0.0.4", features = ["no_std"]}
The sensor is feature complete and the future development evolves:
- Moving into using Embedded-hal 1.x
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.
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.