Arduino: 1.8.20 Hourly Build 2021/12/20 07:33 (Windows 10), Board: "Arduino Uno"
In file included from C:\Users\FILE\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:15:0C:\Users\FILE\Documents\Arduino\libraries\DHT_sensor_library\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 Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Hi @omnamavana. I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
If you don't still have the IDE or web editor open with the error present, repeat the process that generated it.
You now need to copy the full and exact text of the output.
The procedure for doing this is different depending on which Arduino development software you are using:
Arduino IDE 1.x: Click the Copy error messages button on the right side of the orange bar in the IDE.
Arduino IDE 2.x: Right click on the black "Output" panel at the bottom of the IDE window and then select "Copy All" from the context menu.
Arduino Web Editor: Click the icon that looks like two pieces of paper at the top right corner of the black console window Web Editor.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the compilation output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Hi @UKHeliBob I am using the arduino uno board.I am using the liabrary Adafruit/DHT-sensor-liabrary,Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors
according to one of the previous replies,I have clicked on copy error message and pasted it as it is here .
I have tried using the simpleDHT liabrary as well and the same occurs