#include <DHT.h>
#include <LiquidCrystal.h>
#define DHTPIN 33
#define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE);
LiquidCrystal lcd(21, 19, 5, 4, 15, 2);
void setup() {
lcd.begin(16, 2);
lcd.print("Hello World!");
}
void loop() {
float temperature = dht.readTemperature();
float humidity = dht.readHumidity();
lcd.print("Hello World! 21");
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.print(" °C, Humidity: ");
Serial.print(humidity);
Serial.println(" %");
delay(1000);
}