#include<DHT.h>
DHT dht(13,DHT22);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
int temperature=dht.readTemperature();
int Humidity=dht.readHumidity();
Serial.print("The room temperature is:");
Serial.print(temperature);
Serial.println("°C");
Serial.print("The Humidity is:");
Serial.print(Humidity);
Serial.println("%");
delay(1000); // this speeds up the simulation
}