Every 4th byte comes back with zero time elapsed high.

Really don't know why
This commit is contained in:
2023-10-30 22:11:39 +00:00
parent 089d8a62f1
commit e139aa7e9c
3 changed files with 18 additions and 12 deletions

View File

@@ -1,9 +1,11 @@
#pragma once
#include <limits.h>
#include <stdint.h>
typedef enum {
DHT22_OK,
DHT22_TIMEOUT_ERROR,
DHT22_TIMING_ERROR,
DHT22_CHECKSUM_ERROR,
} dht22_error;