from machine import Pin
from time import sleep
from dht import DHT22
sensor= DHT22(Pin(15))
LedR= (14, Pin.OUT)
LedY= (12, Pin.OUT)
LedG= (13, Pin.OUT)
while True:
sensor.measure()
t=sensor.temperature()
h=sensor.humidity()
print("Temperatura",t,"C")
p