from machine import Pin, ADC
from utime import sleep, sleep_ms
from dht import DHT22

s_dht= DHT22 (Pin(15))

while True:
  s_dht.measure()
  tem = s_dht.temperature()
  hum = s_dht.humidity()
  print("T:{} c  H:{}% " .format(tem,hum))
  sleep_ms(50)
$abcdeabcde151015202530354045505560fghijfghij
$abcdeabcde151015202530354045505560fghijfghij
esp:VIN
esp:GND.2
esp:D13
esp:D12
esp:D14
esp:D27
esp:D26
esp:D25
esp:D33
esp:D32
esp:D35
esp:D34
esp:VN
esp:VP
esp:EN
esp:3V3
esp:GND.1
esp:D15
esp:D2
esp:D4
esp:RX2
esp:TX2
esp:D5
esp:D18
esp:D19
esp:D21
esp:RX0
esp:TX0
esp:D22
esp:D23
dht1:VCC
dht1:SDA
dht1:NC
dht1:GND