We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28fb3bb + 93c9d2d commit 32d677bCopy full SHA for 32d677b
Core/Inc/AHT20.h
@@ -31,12 +31,16 @@ typedef enum {
31
AHT20_STATUS_NOT_MEASURED,
32
} aht20_status_t;
33
34
+/*
35
+ * struct for holding measurment data
36
+ */
37
typedef struct {
38
uint8_t measured_data[7];
39
float humidity;
40
float temperature_c;
41
float temperature_f;
42
} aht20_data_t;
43
+
44
/*
45
* sends reads status_word for further calibration verification
46
*
Core/Src/AHT20.c
@@ -210,5 +210,3 @@ static uint8_t calculate_crc(uint8_t *data) {
210
211
return crc;
212
}
213
-
214
0 commit comments