From 0c5b080efac82b1d196e3dde00e5950c97ecbb68 Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 28 Oct 2025 21:08:06 -0300 Subject: feat:leitura assíncrona de leitores MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp/src/dht11.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 esp/src/dht11.cpp (limited to 'esp/src/dht11.cpp') 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(); -} -- cgit v1.2.3