在小e上使用micropython读取ADC:
import machine, time from machine import ADC while True: print(ADC(0).read()) time.sleep_ms(500)
停止程序,可以按下Ctrl-C