#include <DHT.h>;
DHT dht(12, DHT22);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
dht.begin();
}
void loop() {
// put your main code here, to run repeatedly:
float temp = dht.readTemperature();
float humid = dht.readHumidity();
Serial.print("temperature: ");
Serial.println(temp);
Serial.print("humidity: ");
Serial.println(humid);
delay(250);
}