SCD30 modbus driver

Build Status License Crates.io Documentation

Implementation of an SCD30 sensor driver using the modbus protocol written in rust. This driver is written async/await style. Currently the smol runtime is supported.

For more information about the sensor here.

Example

```rust let serial = ...; // serial bus to use

let mut driver = Scd30::new(serial);

driver.setmeasurementinterval(Duration::fromsecs(15)).await.unwrap(); driver.startmeasuring().await.unwrap();

let measurements = driver.read().await.unwrap().unwrap(); ```