Can anyone help me to fix this error?

Arduino: 1.8.19 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from C:\Users\user\Downloads\FE4XYRTIT58ZZL6\FE4XYRTIT58ZZL6.ino:2:0:

C:\Users\user\Documents\Arduino\libraries\DHT_sensor_library-1.4.3/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.

Have you included this Library?

thanks! i just added the library for Adafruit_Sensor and it works :slight_smile:

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