LibDriver SGP40
Loading...
Searching...
No Matches
driver_sgp40_basic.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_SGP40_BASIC_H
38#define DRIVER_SGP40_BASIC_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
52
60uint8_t sgp40_basic_init(void);
61
69uint8_t sgp40_basic_deinit(void);
70
81uint8_t sgp40_basic_read(float temperature, float humidity, int32_t *voc_gas_index);
82
91uint8_t sgp40_basic_read_without_compensation(int32_t *voc_gas_index);
92
101uint8_t sgp40_basic_get_serial_id(uint16_t id[3]);
102
106
107#ifdef __cplusplus
108}
109#endif
110
111#endif
driver sgp40 interface header file
uint8_t sgp40_basic_deinit(void)
basic example deinit
uint8_t sgp40_basic_get_serial_id(uint16_t id[3])
basic example get serial id
uint8_t sgp40_basic_read(float temperature, float humidity, int32_t *voc_gas_index)
basic example read
uint8_t sgp40_basic_read_without_compensation(int32_t *voc_gas_index)
basic example read without compensation
uint8_t sgp40_basic_init(void)
basic example init