import time as t
import adafruit_dht as dht
while True:
umid,temp = dht.read_retry(dht.DHT22, 2)
print('Temp: {0:0.1f} Umid: {1:0.1f}'.format(temp,umid))
t.sleep(15)
import time as t
import adafruit_dht as dht
while True:
umid,temp = dht.read_retry(dht.DHT22, 2)
print('Temp: {0:0.1f} Umid: {1:0.1f}'.format(temp,umid))
t.sleep(15)