#include <LiquidCrystal.h>
#include <DHT.h>
#define dataPIN 6
#define DHTType DHT22
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
DHT dht(dataPIN, DHTType);
void setup() {
lcd.begin(16, 2);
// you can now interact with the LCD, e.g.:
//lcd.Serial.begin(9600);
dht.begin();
}
void loop() {
double temp= dht.readTemperature();
lcd.setCursor(0, 0);
lcd.print(String("Temp: ") + temp);
lcd.print( " \xDF""C");
}