#include <LiquidCrystal.h>
#include "DHT.h"
#define DHTTYPE DHT22   
int sen_pin=2;
float humidity;
float temp_C; 
int td=2500;
DHT dh(sen_pin,DHTTYPE);
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);

void setup() {
lcd.begin(16, 2);
dh.begin(); 
Serial.begin(9600);
}

void loop() {
humidity=dh.readHumidity();
temp_C=dh.readTemperature();
lcd.setCursor(0,0);
  lcd.print("Humidity=");
  lcd.print(humidity);
  lcd.print("%");
 // delay(td);
  //lcd.clear();
lcd.setCursor(0,1);
lcd.print("Temp=");
  lcd.print(temp_C);
  lcd.print("C");
 delay(td);
 lcd.clear();
}