Hi,
I am using arduino-1.8.19(Tried with arduino-1.8.13 as well) portable.
Code is compiling and uploading fine. But defined interrupt is not actually working. I have tried with other PINs also as interrupt input but non of them are working.
There is one observation with this code is PA2 Pin is highly sensible to interruptby default even with human finger touch(But Not by falling/Rising edge or level 0/1) is creating call of defined interrupt subroutine. Kindly suggest solution if any.
Here is the code I am using:
Is this your "definition"? The interrupt number has to match the actual interrupt number in the core implementation. You can't just arbitrarily assign it. It's based on hardware assignments.