Arduino UNO R3

Hi, everyone. I'm from VietNam, i started use Arduino a few month and now i have a trouble with my arduino. I sorry, because my English's not good so i can make trouble with you. But I really hope everyone can help me. And i want to improve my English when i joined this group, too. I really need your helps. Thank for your attention! :slight_smile:
My trouble:
#include <DHT.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,16,2);

const int DHTPIN = 2;
const int DHTTYPE = DHT11;
DHT dht(DHTPIN, DHTTYPE);

byte degree[8] = {
0B01110,
0B01010,
0B01110,
0B00000,
0B00000,
0B00000,
0B00000,
0B00000
};

void setup() {
lcd.init();
lcd.backlight();

lcd.print("Nhiet do: ");
lcd.setCursor(0,1);
lcd.print("Do am: ");

lcd.createChar(1, degree);

dht.begin();
}

void loop() {
float h = dht.readHumidity();
float t = dht.readTemperature();

if (isnan(t) || isnan(h)) { // Kiểm tra xem thử việc đọc giá trị có bị thất bại hay không. Hàm isnan bạn xem tại đây isnan() | Cộng đồng Arduino Việt Nam
}
else {
lcd.setCursor(10,0);
lcd.print(round(t));
lcd.print(" ");
lcd.write(1);
lcd.print("C");

lcd.setCursor(10,1);
lcd.print(round(h));
lcd.print("%");
}
}
After i compile my code, i recieve message:
Error compiling for board Arduino/Genuino Uno
Exit status 1

Please post your code between
** **[code]** **
and
** **[/code]** **
.

Please post the complete error message (there is a button to copy it from the output window to the clipboard).

There must be more to the error message. Please post the entire error message. When you get an error there is a button box in the orange line above the console, copy error messages. copy the error messages and paste into a reply following the guidelines in the "how to use this forum-please read" sticky (see #7).

I've understood. Thank guys!
Below this line is a error message:

Arduino: 1.8.6 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\USER\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\USER\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\USER\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10806 -build-path C:\Users\USER\AppData\Local\Temp\arduino_build_512132 -warnings=none -build-cache C:\Users\USER\AppData\Local\Temp\arduino_cache_964789 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\USER\Documents\Arduino\SENSOR\SENSOR.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\USER\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\USER\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\USER\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10806 -build-path C:\Users\USER\AppData\Local\Temp\arduino_build_512132 -warnings=none -build-cache C:\Users\USER\AppData\Local\Temp\arduino_cache_964789 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\USER\Documents\Arduino\SENSOR\SENSOR.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\USER\AppData\Local\Temp\arduino_build_512132\sketch\SENSOR.ino.cpp" -o nul
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library" "C:\Users\USER\AppData\Local\Temp\arduino_build_512132\sketch\SENSOR.ino.cpp" -o nul
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\USER\AppData\Local\Temp\arduino_build_512132\sketch\SENSOR.ino.cpp" -o nul
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\USER\Documents\Arduino\libraries\LiquidCrystal_I2C" "C:\Users\USER\AppData\Local\Temp\arduino_build_512132\sketch\SENSOR.ino.cpp" -o nul
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\USER\Documents\Arduino\libraries\LiquidCrystal_I2C" "C:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library\DHT.cpp" -o nul
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\USER\Documents\Arduino\libraries\LiquidCrystal_I2C" "C:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp" -o nul
Multiple libraries were found for "DHT.h"
Used: C:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library
Not used: C:\Users\USER\Documents\Arduino\libraries\Grove_Temperature_And_Humidity_Sensor
In file included from C:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:22:0:

C:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

compilation terminated.

Using library DHT_sensor_library at version 1.3.0 in folder: C:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
Using library LiquidCrystal_I2C at version 1.1.2 in folder: C:\Users\USER\Documents\Arduino\libraries\LiquidCrystal_I2C
exit status 1
Error compiling for board Arduino/Genuino Uno.

Gia_TanFromVN:
C:\Users\USER\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

If this doesn't clear it up for you, perhaps the DHT-sensor-library Readme will. "This library also includes an optional class for the DHT humidity and temperature sensor which is designed to work with the Adafruit unified sensor library.
You must have the following Arduino libraries installed to use this class:
Adafruit Unified Sensor Library"

oh! thank you so much, Perehama. I'm trying to do it. :)))

please help me again. when i write code DHT-sensor-library in C++ and compile, program send me message:
Wprogram.h: No such file or dirrectory compilation and terminated.

Wprogram.h:

That means that you have a very old version of the library. Your best bet is to use the IDE library manager to find and install a current or updated library.

thank you so much, GroundFungus! I'll do it. :)))