math
array
gc
sys
ubinascii
ucollections
uerrno
uhashlib
uheapq
uio
ujson
uos
ure
uselect
usocket
ustruct
utime
uzlib
cmath
btree
framebuf
machine
micropython
network
uctypes
pyb
screen
uturtle
ubitmap
text
创建一个DHT对象
代码:dhtobj = dht.DHT(‘1’);
获取湿度数据
代码:dht.humidity();
测量数据
代码:dht.measure();
代码:humidity();
获取温度数据
代码:temperature();
代码:measure();