from machine import Pin
from time import sleep
import dht
pink = Pin(5, Pin.OUT)
sensor = dht.DHT22(Pin(16))
#sensor = dht.DHT22(Pin(16))
while True:
pink.on()
sleep(1)
pink.off()
sleep(1)
sleep(1)
sensor.measure()
temp = sensor.temperature()
humi = sensor.humidity()
print('Temperature: %3.2f C' %temp)
print('Humidity: %3.1f %%' %humi)
print('by sucinna buy bi')