summaryrefslogtreecommitdiffstats
path: root/main/dht.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/dht.h')
-rw-r--r--main/dht.h10
1 files changed, 10 insertions, 0 deletions
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