#include <LiquidCrystal_I2C.h>

#include "DHT.h"
DHT dht(A0, DHT22);

#define I2C_ADDR    39  //0x27
LiquidCrystal_I2C lcd(I2C_ADDR, 20, 4);

void setup() {
  dht.begin();
  lcd.init();
  lcd.backlight();
  
 // lcd.setCursor(0, 1);
 // lcd.print("Wokwi  ");
}


void loop() {
  float t = dht.readTemperature();  // Read temperature as Celsius (the default)
  lcd.setCursor(0, 0);
  lcd.print(t);
  }