from machine import ADC,Pin
from utime import sleep

sleep(0.01)
pot=ADC(Pin(26))

while 1:
    val=pot.read_u16()
    volt=val/65535*3.3
    temp=(volt-0.5)/0.01
    print(val,volt,temp)
    sleep(0.3)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT