Every 4th byte comes back with zero time elapsed high.
Really don't know why
This commit is contained in:
@@ -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