import board import time import analogio sensor = analogio.AnalogIn(board.A1) while True: lectura = sensor.value tension = 3.3 * lectura / 65536 temp = round(100 * tension - 50, 1) print(temp, "C") time.sleep(1)