From d5dcb0cec5af3db855968a4c1b127e28f79a5a26 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 15 Mar 2023 01:53:25 +0100 Subject: [PATCH] Install DHT11 dependencies --- platformio.ini | 3 +++ src/main.cpp | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/main.cpp diff --git a/platformio.ini b/platformio.ini index 4fa4a6d..59ca5e1 100644 --- a/platformio.ini +++ b/platformio.ini @@ -12,3 +12,6 @@ platform = espressif8266 board = d1_mini framework = arduino +lib_deps = + adafruit/DHT sensor library@^1.4.4 + adafruit/Adafruit Unified Sensor@^1.1.9 diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..b42e50d --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,9 @@ +#include +#include + +void setup() { Serial.begin(9600); } + +void loop() { + Serial.println("Sup dude"); + delay(1000); +}