Init
This commit is contained in:
15
main/hw/ccs811.h
Normal file
15
main/hw/ccs811.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#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
|
Reference in New Issue
Block a user