A rust driver (and CLI utility) for the sdc30 CO2, Temperature and Humidity sensor.
Add the library to your project with cargo add sensor-sdc30
or with sensor-sdc30 = { version = "0.1.0", features = [] }
in your Cargo.toml
.
Install the utility with one of the following methods:
cargo install sensor-sdc30
Run sdc30-util
to communicate with the sensor.
``` pi@raspberrypi:~ $ sudo ./sdc30-util --help sdc30-util 0.1.0 Ryan Kurte ryankurte@gmail.com A Command Line Interface (CLI) for interacting with a local Sdc30 environmental sensor over I2C
USAGE: sdc30-util [OPTIONS]
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
-d, --i2c