摘要: 基本用法from pyb import DACdac = DAC(1) # create DAC 1 on pin X5dac.write(128) # write a value to the DAC (makes X5 1.65V)dac = DAC(1, bits=12) # use 12 b 阅读全文
posted @ 2018-05-23 09:35 小小su 阅读(1940) 评论(0) 推荐(0) 编辑