AttributeError: 'ADC' object has no attribute 'atten'

后端 未结 0 1423
灰色年华
灰色年华 2020-12-30 01:26

I have a little problem whit pyboard. I want to measure voltage and I want tu use this program: from machine import Pin, ADC

adc=ADC(Pin(\'A0\')) adc.atten(ADC.ATTN_1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题