#include <dht.h>
dht DHT;
#define DHT22_PIN 7
void setup()
{
Serial.begin(9600);
}
void loop()
{
int chk = DHT.read22(DHT22_PIN);
Serial.print("Temp=");
Serial.print(DHT.temperature);
delay(1000);
}#include <dht.h>
dht DHT;
#define DHT22_PIN 7
void setup()
{
Serial.begin(9600);
}
void loop()
{
int chk = DHT.read22(DHT22_PIN);
Serial.print("Temp=");
Serial.print(DHT.temperature);
delay(1000);
}