Install DHT11 dependencies
This commit is contained in:
parent
e86d80b91b
commit
d5dcb0cec5
|
@ -12,3 +12,6 @@
|
||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
board = d1_mini
|
board = d1_mini
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
lib_deps =
|
||||||
|
adafruit/DHT sensor library@^1.4.4
|
||||||
|
adafruit/Adafruit Unified Sensor@^1.1.9
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#include <Arduino.h>
|
||||||
|
#include <DHT.h>
|
||||||
|
|
||||||
|
void setup() { Serial.begin(9600); }
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
Serial.println("Sup dude");
|
||||||
|
delay(1000);
|
||||||
|
}
|
Loading…
Reference in New Issue