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