Every 4th byte comes back with zero time elapsed high.
Really don't know why
This commit is contained in:
1 parent
089d8a62f1
commit
e139aa7e9c
3 files changed
+18
-12
No files matched your search
@@ -73,6 +73,7 @@ void read_from_dht22() {
|
||||
if (ret != DHT22_OK) {
|
||||
dht22_handle_error(ret);
|
||||
} else {
|
||||
|
||||
latest_datapoint.temp = dht22_temperature();
|
||||
latest_datapoint.rh = dht22_relative_humidity();
|
||||
ESP_LOGW(TAG, "%f & %f", latest_datapoint.temp / 10.0, latest_datapoint.rh / 10.0 );
|
||||
|
||||
Reference in new issue
Block a user