A Sensirion's SGP30 Mongoose OS library which reads tvoc and co2.
Note this uses the Sensirion Embedded Driver SGP30 (zip) which was developed by Sensirion AG.
See https://www.sensirion.com/en/environmental-sensors/gas-sensors/multi-pixel-gas-sensors/
- I2C
This code is released under Apache License 2.0, and is copyright Mark Wolfe.