Download Arduino Mega Interrupt Pins Images. Type of transition to trigger on, e.g. In arduino uno, nano the pins used for interrupt are 2,3 & in mega 2,3,18,19,20,21.
I have 8 pins that i will need to make separate interrupts for.
You can define a routine using a special function called as interrupt service routine (usually known as isr). On the arduino uno, pins 2 and 3 are capable of generating interrupts, and they correspond to interrupt vectors 0 and 1, respectively. Maybe this should be mentioned? The number of the interrupt.