#include <DHT.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h> 

LiquidCrystal_I2C lcd = LiquidCrystal_I2C(0x27, 16, 2);

DHT dht(4, DHT22);
float temperature ;
float  humidity;

void setup() {
  Serial.begin(9600);
  LCD.init();
  LCD.backlight();
}

void loop() {
  temperature  = dht.readTemperature();
  humidity     = dht.readHumidity();

  Serial.print("Temperatue:\t"+String(temperature)+ "C");
  lcd.setCursor(0, 0);
  lcd.print("Temp : ");
  lcd.print(temperature);
  lcd.print(" C");

  Serial.println("Humidity: \t"+String(humidity)+ "%");
  lcd.setCursor(1, 0);
  lcd.print("Humi : ");
  lcd.print(humidity);
  lcd.print(" %");
  delay(1000);
}
NOCOMNCVCCGNDINLED1PWRRelay Module