This bug only appears in STM32 boards and runs fine on AVR boards. the problem is that when a simple global variable is added to the sketch, it seems to somehow messes with the PIN interrupt of ...
from tkinter import filedialog as FileDialog #importar el módulo file dialog para pedirle al usuario que seleccione un fichero del disco duro leer=False # inicializo la variable que determinara si voy ...