18 lines
281 B
C
18 lines
281 B
C
#ifndef SCD4X_DATA_H
|
|
#define SCD4X_DATA_H
|
|
|
|
struct scd4x_data {
|
|
uint16_t co2;
|
|
int32_t temperature;
|
|
int32_t humidity;
|
|
};
|
|
typedef struct scd4x_data scd4x_data_t;
|
|
|
|
struct scd4x_config {
|
|
scd4x_data_t* measure;
|
|
uint16_t delay;
|
|
};
|
|
typedef struct scd4x_config scd4x_config_t;
|
|
|
|
#endif
|