I require to monitor change on 10 digital ios. Based on the pin thats changing i need to perform an action - say send serial data or say glow leds. Now the arduino has external interrupts enabled on 2 pins only... but i believe atmega168 has interrupt on change on all ports. How do i get to activate all the pins?
Another question is what happens to interrupts generated when the ISR function is executed? This is all that is required for this application, so would it be better to poll each pin manually and perform the actions rather than using interrupts?