You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
353 B
19 lines
353 B
3 years ago
|
//
|
||
|
// Created by MightyPork on 2017/11/17.
|
||
|
//
|
||
|
|
||
|
#ifndef PROJ_VOC_SENSOR_H
|
||
|
#define PROJ_VOC_SENSOR_H
|
||
|
|
||
|
#include <bme680.h>
|
||
|
#include <esp_err.h>
|
||
|
|
||
|
extern struct bme680_dev gas_sensor;
|
||
|
|
||
|
esp_err_t voc_init(void);
|
||
|
uint32_t voc_start_measure(void);
|
||
|
esp_err_t voc_read(struct bme680_field_data *data);
|
||
|
void voc_read_task(void *param);
|
||
|
|
||
|
#endif //PROJ_VOC_SENSOR_H
|