summaryrefslogtreecommitdiff
path: root/esp/src/dht11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'esp/src/dht11.cpp')
-rw-r--r--esp/src/dht11.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/esp/src/dht11.cpp b/esp/src/dht11.cpp
deleted file mode 100644
index 9900363..0000000
--- a/esp/src/dht11.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "DHT.h"
-#include "dht11.h"
-
-#define DHTPIN 32
-#define DHTTYPE DHT11
-DHT dht(DHTPIN, DHTTYPE);
-
-void setupDHT11() {
- dht.begin();
-}
-
-float lerTemperaturaDHT11() {
- return dht.readTemperature();
-}
-
-float lerUmidadeDHT11() {
- return dht.readHumidity();
-}