libscd 0.5.1

Rust drivers for various SCD devices such as scd30 and scd4x CO2 sensors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Debug, Eq, PartialEq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Error<E> {
    /// I2C bus error
    I2C(E),

    /// CRC validation failed
    CRC,

    /// The operation cannot be executed with the current state of the sensor
    NotAllowed,

    /// An invalid input was passed as a parameter
    InvalidInput,
}