GPIO Interrupt

I need to attach interrupt on GPIO 0,1,2,3 on Leonardo and use Serial

Any issue ? Since 0 and 1 are the RX/ TX of the Serial Port.

If you are using pins 0 and 1 for serial then it makes no sense to put an interrupt on those pins.

What are you actually trying to do?

I am connecting push button to the GPIO and send data to Serial to PC.

Tested seems like ok !

link=msg=3219795:
I need to attach interrupt on GPIO 0,1,2,3 on Leonardo and use Serial

Any issue ? Since 0 and 1 are the RX/ TX of the Serial Port.

Pins 0 and 1 connect to Serial1 that could be more useful than connecting to a button,
but the Serial is handled with other pins, so there are no other issues.