I am trying to use an external button connect to PA1 to trigger an external interrupt in order to switch on a LED(on PD12). I have tried using a variable declared in stm32f4xx_i