from machine import Pin, ADC
from utime import sleep, sleep_ms
from dht import DHT22
s_dht= DHT22 (Pin(15))
while True:
s_dht.measure()
tem = s_dht.temperature()
hum = s_dht.humidity()
print("T:{} c H:{}% " .format(tem,hum))
sleep_ms(50)