1
2from driver import ADC
3
4print("-------------------start adc test--------------------")
5adc = ADC()
6adc.open("ADC0")
7value = adc.read()
8print(value)
9adc.close()
10print("-------------------end adc test--------------------")
11