From 24d9a11a326dc8e805b177c45bfe23e4675a2e05 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Wed, 21 Jun 2023 10:47:31 +0800 Subject: Copied from sourcehut. --- main/dht.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 main/dht.h (limited to 'main/dht.h') diff --git a/main/dht.h b/main/dht.h new file mode 100644 index 0000000..483f2b4 --- /dev/null +++ b/main/dht.h @@ -0,0 +1,10 @@ +#ifndef DHT_H +#define DHT_H + +void dht_init(void); + +int dht_get_data(uint8_t result[5]); + +int16_t dht_decode_data(uint8_t msb, uint8_t lsb); + +#endif -- cgit v1.2.3