from machine import Pin,ADC
from utime import sleep
sensor=ADC(Pin(26))
while 1:
value=sensor.read_u16()
volt=(value/65535)*3.30
temp=(volt-0.5)/0.01
print("value:",value," volt:",volt)
print("temp:",temp,"^C")
sleep(0.3)