LibDriver SGP41
Loading...
Searching...
No Matches
driver_sgp41_basic.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_SGP41_BASIC_H
38#define DRIVER_SGP41_BASIC_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
52
60uint8_t sgp41_basic_init(void);
61
69uint8_t sgp41_basic_deinit(void);
70
82uint8_t sgp41_basic_read(float temperature, float humidity, int32_t *voc_gas_index, int32_t *nox_gas_index);
83
93uint8_t sgp41_basic_read_without_compensation(int32_t *voc_gas_index, int32_t *nox_gas_index);
94
103uint8_t sgp41_basic_get_serial_id(uint16_t id[3]);
104
108
109#ifdef __cplusplus
110}
111#endif
112
113#endif
driver sgp41 interface header file
uint8_t sgp41_basic_read_without_compensation(int32_t *voc_gas_index, int32_t *nox_gas_index)
basic example read without compensation
uint8_t sgp41_basic_read(float temperature, float humidity, int32_t *voc_gas_index, int32_t *nox_gas_index)
basic example read
uint8_t sgp41_basic_get_serial_id(uint16_t id[3])
basic example get serial id
uint8_t sgp41_basic_init(void)
basic example init
uint8_t sgp41_basic_deinit(void)
basic example deinit