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