This is a platform agnostic Rust driver for the CCS881 indoor air quality
sensor, based on the
embedded-hal blocking i2c traits.
This driver allows you to:
- Start App mode.
- Read all info available [eCO2, eTVOC, Status, ErrorId, RawData].
- Reset device.
The CCS811 The CCS811 is an ultra-low power digital gas sensor solution which integrates a metal oxide (MOX) gas sensor to detect a wide range of Volatile Organic Compounds (VOCs) for indoor air quality monitoring with a microcontroller unit (MCU), which includes an Analog-to-Digital converter (ADC), and an I²C interface.
To use this driver, import this crate and an
then instantiate the device.
Ccs811 device driver.
Application mode Register addresses Taken from the CCS811 data sheet (Figure 14, p.17)
Boot mode Register addresses Taken from the CCS811 data sheet (Figure 25, p.26)
All possible errors in this crate