from machine import Pin,PWM from time import sleep p=PWM(Pin(19)) t=ADC(Pin(34)) while True: print(t.read())