//#include <LiquidCrystal_I2C.h>
//#include <Wire.h>
//LiquidCrystal_I2C lcd(0x27, 16, 2);
#include <DHT.h>
#define DHTPIN 12
#define DHTTYPE DHT22
DHT dht(12,DHT22);
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
dht.begin();
}
void loop() {
// put your main code here, to run repeatedly:
float h = dht.readHumidity();
float t = dht.readTemperature();
float F = dht.readTemperature(true);
Serial.print(F("HUMIDITY "));
Serial.print(h);
Serial.print(F("% TEMPERATURE "));
Serial.print(t);
Serial.println(F(" c"));
delay(2000);
}