Interrupts don't work

telemoquina0:
So, to have an external interrupt is it mandatory to have something connected to pin 2? Can´t it be simulated?

Why would you want to detect a fictitious interrupt?

What are you actually trying to achieve?