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