#include <dht.h>;
#include <LiquidCrystal.h>
dht DHT;
const int RS = 11,EN = 10,D4=5,D5=4,D6=3,D7=2;
LiquidCrystal lcd(RS,EN,D4,D5,D6,D7);
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
}
void loop() {
// put your main code here, to run repeatedly:
int readDHT = DHT.read22(7);
lcd.setCursor(0,0);
lcd.print("Temp: ");
lcd.print(DHT.temperature);
lcd.print("This is a lcd screen ");
lcd.scrollDisplayLeft();
lcd.print("C");
lcd.setCursor(0,1);
lcd.print("Humidity: ");
lcd.print(DHT.humidity);
lcd.print("%");
delay(2000);
}