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
DAC.
init
重新启动DAC。 bits 可为8或12。
bits
noise
生成一个伪随机噪声信号。以给定频率将一个新的随机样本写入DAC输出。
triangle
生成一个三角形波。DAC输出值以给定频率变化。重复三角形波的频率为2048倍。
write
直接访问DAC输出。最小值为0。最大值为2** bits -1,当创建DAC对象或使用 init 方法时在此设定bits。