Please help : error compiling

Arduino: 1.8.14 Hourly Build 2020/10/09 12:33 (Windows 10), Board: “Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from C:\Users\HOU19002330\sketchbook\libraries\DHT_sensor_library-1.4.2\DHT_U.cpp:15:0:

C:\Users\HOU19002330\sketchbook\libraries\DHT_sensor_library-1.4.2\DHT_U.h:36:10: fatal error: Adafruit_Sensor.h: No such file or directory

#include <Adafruit_Sensor.h>


compilation terminated.

exit status 1

Error compiling for board Arduino Mega or Mega 2560.

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.


means you did not install the Adafruit_Sensor library

have a look at Arduino - Libraries

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.