from machine import ADC
import utime
print("Lectura de tempratura interna")
pot = ADC(26)
factor_16=3.3/65536
while True:
lecADC = pot.read_u16()
voltaje = lecADC*factor_16
print("ADC: ", lecADC, " Voltaje = {}v".format(voltaje))
utime.sleep(0.2)
#
# 3.3v ----- 65536
# Xv ----- Lec.ADC
#
# V=RI