Healthy. I'm trying to install a lcd thermometer. He tried 15 species. He does not even want compilation. Still listing Exit status 1. Well, ask for advice.Arduino: 1.8.5 (Windows 7), Vývojová doska:"Arduino/Genuino Uno"
D:\Arduino program\dalšà merač teploty a vlhkosti spolu s kodom\code\code.ino:3:17: fatal error: DHT.h: No such file or directory
compilation terminated.
exit status 1
Nastala chyba pri kompilácii pre dosku Arduino/Genuino Uno.
Táto správa by mala mať viac informácií v
"Zobrazenie podrobného výstupu pri kompilácii"
podľa zapnutá voľba v Súbor -> Nastavenia.
I send a chibi message. Thank you very much.
// include the library code: #include <LiquidCrystal.h> #include "DHT.h"
// set the DHT Pin #define DHTPIN 8
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); #define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
dht.begin();
// Print a message to the LCD.
lcd.print("Temp: Humidity:");
}
void loop() {
delay(500);
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// read humidity
float h = dht.readHumidity();
//read temperature in Fahrenheit
float f = dht.readTemperature(true);
if (isnan(h) || isnan(f)) {
lcd.print("ERROR");
return;
}
lcd.print(f);
lcd.setCursor(7, 1);
lcd.print(h);
}
Hello. I send a code to the thermometer. This is not working for me either. Thank you in advance.
Healthy. I would just like to be a simple humidity thermometer. DHT 11 sensor. To show me the values on the display. Well thank you.I've done more than 15 thermometer projects. But I can not even upload one to Arduin.
Healthy. Yes, I installed the DHT library. I put arduino IDE 1.8.8. I renewed Windovs. It will no longer allow you to install the program. Already reports the problem when compiling.