#include <dht.h>
#define DHTPIN 2
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
void setup() {
// put your setup code here, to run once:
dht.begin();
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
float value= dht.readHumidity();
Serial.print(Humidity);;
Serial.print(value);
delay(2000);
}