Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: “NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200”
In file included from C:\Users\UTENTE\Documents\Arduino\libraries\DHT_sensor_library-1.3.7\DHT_U.cpp:15:0:
C:\Users\UTENTE\Documents\Arduino\libraries\DHT_sensor_library-1.3.7\DHT_U.h:36:29: fatal error: Adafruit_Sensor.h: No such file or directory
#include <Adafruit_Sensor.h>
^
compilation terminated.
exit status 1
Error compiling for board NodeMCU 0.9 (ESP-12 Module).
Do I need to change my DHT library?
Hi
did you download lib
- https://www.arduinolibraries.info/libraries/dht-sensor-library
- https://github.com/adafruit/DHT-sensor-library
tutorial on it
- learn.adafruit.com/dht?view=all
- https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/