-1

I am using an Arduino Genuino, this is what comes up

Multiple libraries were found for "LiquidCrystal.h"
 Used: /home/user/Arduino/libraries/LiquidCrystal
 Not used: /opt/ArduinoIDE/libraries/LiquidCrystal
In file included from /home/user/Arduino/libraries/dht/DHT_U.cpp:22:0:
/home/user/Arduino/libraries/dht/DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory
 #include <Adafruit_Sensor.h>

                             ^
compilation terminated.
exit status 1
1
  • 1
    what do you understand about what the message is telling you?
    – jsotola
    Feb 2, 2018 at 21:23

1 Answer 1

1

The first notice about multiple libraries is not stopping you. The DHU library relies on the Adafruit Unified Sensor Library

You should have the following libraries (installed and) included:

#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <DHT_U.h>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.