Port from Adafruit's SGP30 arduino lib(https://github.com/adafruit/Adafruit_SGP30) to use Mbed api

Dependents:   AMU_Polytech_Marseille_STM32InTheSky_01_05_2019 Sensor_SGP30 Sensor_iAQ_sgp30_bme_si7051 POCBreath_V2_smd_commercial

homepage

usage

  1. include "Adafruit_SGP30.h"

Adafruit_SGP30 sgp30_obj(I2C_SDA, I2C_SCL);

sgp30_obj.begin() sgp30_obj.IAQmeasure()

printf("TVOC : %d\n", sgp30_obj.TVOC); printf("eCO2: %d\n", sgp30_obj.eCO2);


All wikipages