I have code that handles pinchange interrupts from pins PK0..7 - it works very well on an ATMEGA2560 (it's NOT an Arduino board)
But I need to add pinchange support for PJ0 and PJ1 but no matter what I try it wont handle PJ0..1
The pins are changing --- if I "peek" at them, from within the PK interrupt routine I can see them changing.
I have separate interrupt routines for each group.
I know there can only be 8 monitored pins per group (PK and PJ)
What am I missing ?? Do you perhaps have example code of doing something like this ??
Best regards,Dave
I have code that handles pinchange interrupts from pins PK0..7 - it works very well on an ATMEGA2560 (it's NOT an Arduino board)
But I need to add pinchange support for PJ0 and PJ1 but no matter what I try it wont handle PJ0..1 The pins are changing --- if I "peek" at them, from within the PK interrupt routine I can see them changing. I have separate interrupt routines for each group. I know there can only be 8 monitored pins per group (PK and PJ) What am I missing ?? Do you perhaps have example code of doing something like this ?? Best regards,Dave