from machine import pin
from time import sleep
from dht import DHT22
sensor = DHT22(pin(15))
LedR=pin((14), Pin.Out)
LedY=pin((13), Pin.Out)
LedG=pin((12), Pin.Out)
while true:
from machine import pin
from time import sleep
from dht import DHT22
sensor = DHT22(pin(15))
LedR=pin((14), Pin.Out)
LedY=pin((13), Pin.Out)
LedG=pin((12), Pin.Out)
while true: