MODE CONST

This commit is contained in:
leo 2022-03-30 23:36:51 +02:00
parent 6b4c156ae0
commit 723a07d87b
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB

View File

@ -3,6 +3,12 @@
#include "nvs_flash.h"
#define SCD4X_NORMAL_MODE 1
#define SCD4X_LP_MODE 2
#define SCD4X_SS_MODE 3
#define SCD4X_OFF_MODE 0
#define SCD4X_CAPTURE_ENABLED 0b11
struct scd4x_data {
uint16_t co2;
int32_t temperature;