#include <DHT.h>
#define DHTPIN 7
#define DHTTYPE DHT22
DHT dht(DHTPIN,DHTTYPE);
float temp;
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:
delay(2000);
temp = dht.readTemperature();
Serial.print("%, Temp: ");
Serial.print(temp);
Serial.println("celsius");
delay(5000);
}