erreur de compilation DHT.h

bonjour quand je veut vérifier un code avec une librairie dht.h, on me met ce message d'erreur:

Arduino : 1.8.8 (Windows 8.1), Carte : "Arduino/Genuino Uno"

In file included from C:\Users\Théo\Documents\Arduino\libraries\DHT_sensor_library-1.3.3\DHT_U.cpp:22:0:

C:\Users\Théo\Documents\Arduino\libraries\DHT_sensor_library-1.3.3\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

compilation terminated.

exit status 1 Erreur de compilation pour la carte Arduino/Genuino Uno

j'e n'arrive pas a y remedier

merci de votre aide

hello il faut que tu installes la librairie sensor.h dans le répertoire indiqué

Un petit coup de pouce ?

https://github.com/adafruit/DHT-sensor-library.git

Ça ne serait pas plutôt adafruit unified sensor ?

bonjour

a chaque fois que j'essaye d'utiliser la librairie DHT.h j'ai le meme message d'erreur qui s'affiche lors de la compilation

Arduino : 1.8.8 (Windows 8.1), Carte : "Arduino/Genuino Uno"

C:\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Arduino\hardware -tools C:\Arduino\tools-builder -tools C:\Arduino\hardware\tools\avr -built-in-libraries C:\Arduino\libraries -libraries C:\Users\Théo\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10808 -build-path C:\Users\THO~1\AppData\Local\Temp\arduino_build_892901 -warnings=none -build-cache C:\Users\THO~1\AppData\Local\Temp\arduino_cache_659135 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Arduino\hardware\tools\avr -verbose C:\Users\Théo\Documents\Arduino\sketch_feb17c\sketch_feb17c.ino C:\Arduino\arduino-builder -compile -logger=machine -hardware C:\Arduino\hardware -tools C:\Arduino\tools-builder -tools C:\Arduino\hardware\tools\avr -built-in-libraries C:\Arduino\libraries -libraries C:\Users\Théo\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10808 -build-path C:\Users\THO~1\AppData\Local\Temp\arduino_build_892901 -warnings=none -build-cache C:\Users\THO~1\AppData\Local\Temp\arduino_cache_659135 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Arduino\hardware\tools\avr -verbose C:\Users\Théo\Documents\Arduino\sketch_feb17c\sketch_feb17c.ino Using board 'uno' from platform in folder: C:\Arduino\hardware\arduino\avr Using core 'arduino' from platform in folder: C:\Arduino\hardware\arduino\avr Detecting libraries used... "C:\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\THO~1\AppData\Local\Temp\arduino_build_892901\sketch\sketch_feb17c.ino.cpp" -o nul "C:\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Théo\Documents\Arduino\libraries\DHT-sensor-library-master" "C:\Users\THO~1\AppData\Local\Temp\arduino_build_892901\sketch\sketch_feb17c.ino.cpp" -o nul "C:\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Théo\Documents\Arduino\libraries\DHT-sensor-library-master" "C:\Users\Théo\Documents\Arduino\libraries\DHT-sensor-library-master\DHT.cpp" -o nul "C:\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Théo\Documents\Arduino\libraries\DHT-sensor-library-master" "C:\Users\Théo\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.cpp" -o nul In file included from C:\Users\Théo\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.cpp:22:0:

C:\Users\Théo\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

compilation terminated.

Utilisation de la bibliothèque DHT-sensor-library-master version 1.3.3 dans le dossier: C:\Users\Théo\Documents\Arduino\libraries\DHT-sensor-library-master exit status 1 Erreur de compilation pour la carte Arduino/Genuino Uno

merci de votre aide par ce que je suis bloquer

Bonjour,

Ce n’est pas la peine d’ouvrir un deuxième sujet. Lis les réponses qui t’ont été faites ici.

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