| 
    Adafruit SGP30 Arduino Library
    
   | 
 
#include "Arduino.h"#include <Adafruit_BusIO_Register.h>#include <Adafruit_I2CDevice.h>Go to the source code of this file.
Classes | |
| class | Adafruit_SGP30 | 
| Class that stores state and functions for interacting with SGP30 Gas Sensor.  More... | |
Macros | |
| #define | SGP30_I2CADDR_DEFAULT 0x58 | 
| SGP30 has only one I2C address.  | |
| #define | SGP30_FEATURESET 0x0020 | 
| The required set for this library.  | |
| #define | SGP30_CRC8_POLYNOMIAL 0x31 | 
| Seed for SGP30's CRC polynomial.  | |
| #define | SGP30_CRC8_INIT 0xFF | 
| Init value for CRC.  | |
| #define | SGP30_WORD_LEN 2 | 
| 2 bytes per word  | |
This is the documentation for Adafruit's SGP30 driver for the Arduino platform. It is designed specifically to work with the Adafruit SGP30 breakout: http://www.adafruit.com/products/3709
These sensors use I2C to communicate, 2 pins (SCL+SDA) are required to interface with the breakout.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Ladyada for Adafruit Industries.
BSD license, all text here must be included in any redistribution.
 1.8.13