import time from machine import ADC, Pin adc=ADC(Pin(28)) while True: print(adc.read_u16()) time.sleep(1)