bme680-air-meter-sw/include/meas.h

23 lines
500 B
C
Raw Permalink Normal View History

2019-10-17 23:18:18 +02:00
#ifndef __MEAS_H__
#define __MEAS_H__
#include <bme680_defs.h>
#include <stdbool.h>
/**
* @brief Initialize sensor
* @return 0 if successful
*/
int meas_init_without_gas(void);
/**
* @brief Do a single measurement
* @param gas_enable select if gas measurement should be done
* @param meas_data read data
* @param ambient_temp Ambient Temperature
* @return 0 if successful
*/
int meas_do(bool gas_enable, struct bme680_field_data *meas_data, int8_t ambient_temp);
#endif /* __MEAS_H__ */