getting error: Adafruit_Sensor.h: No such file or directory

userHead sansupercool 2018-10-28 00:20:21 11885 Views5 Replies
I am tryying to do my first arduino project on my lattepanda EP,
I followed the instructions:

but when I try to compile I get this error :

Code: Select all

Arduino: 1.8.7 Hourly Build 2018/10/24 04:33 (Windows 10), Board: "Arduino Leonardo" In file included from C:\Users\LattePanda\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:22:0: C:\Users\LattePanda\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory compilation terminated. exit status 1 Error compiling for board Arduino Leonardo. Invalid library found in C:\Users\LattePanda\Documents\Arduino\libraries\libraries: no headers files (.h) found in C:\Users\LattePanda\Documents\Arduino\libraries\libraries Invalid library found in C:\Users\LattePanda\Documents\Arduino\libraries\libraries: no headers files (.h) found in C:\Users\LattePanda\Documents\Arduino\libraries\libraries This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. On Arduino IDE i click on manage library and searched for Arduio Sensor but there is nothig like that, I have installed arduino DHT22 sensor library already.

Please help