import machine
from time import sleep
potPin=28
myPot=machine.ADC(potPin)
while True:
  potVal=myPot.read_u16()
  print(potVal)
  sleep(.5)


BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT