import machine
from time import sleep
potPin = 28
myPot = machine.ADC(potPin)
while True:
potValue = myPot.read_u16()
volatageValue = (3.3*potValue)/65535
print(volatageValue)
# homework solution
# measureValue = (100*potValue)/65535
# print(measureValue)
sleep(1)