#include "DHT.h"
DHT dht(A0, DHT22); //DHT11
void setup() { Serial.begin(115200);
dht.begin();
}
void loop() {
// float t = dht.readTemperature();
float h = dht.readHumidity();
//Serial.print(F("Temperature,°C: "));
//Serial.println(t);
Serial.print(F("Vlazhnost,%: ")); //Humidity
Serial.println(h);
delay(1000);
}