#ifndef CCS811_COMPONENT #define CCS811_COMPONENT #include "i2cbrn.h" #include "mcp23018.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #define TAG_CCS "CCS811" extern i2c_device_config_t CCS811_DEV_CFG; extern i2c_master_dev_handle_t CCS811_DEV_HANDLE; void ccs811_init(); esp_err_t ccs811_get_data(uint16_t * eCO2, uint16_t * tvoc); #endif