[Micropython TPYBoard ] ADC的使用方法

基本用法函數 import pyb adc = pyb.ADC(Pin('Y11')) # create an analog object from a pin adc = pyb.ADC(pyb.Pin.board.Y11) val = adc.read() # read an analog value adc = pyb.ADCAll(resolution) # creale an ADCAl
相關文章
相關標籤/搜索