Interrupts on the Arduino NG I am a newbie to using arduino. 

I am using an arduino NG  (using an atmega8). One of the pins is a button that triggers an interrupt. 

The problem I am trying to solve is that I want an arduino NG to store the timestamp (we are using mills as a timer -no need to consider the 50 day rollover error here) when the interrupt pin is pressed.

The timer of the interrupts in milliseconds is stored in an array and there are up to 100 such interrupt button presses. 

After searching around I didnt find any information for using interrupts with atmega8 on arduino NG (though there is information of how to use interrupts on atmega168 with arduino NG ).

So my question is: Is this problem solvable with an atmega8 arduino NG? Does the atmega8 arduino NG have interrupts? Just need one interrupt. And what would be the code to read an interrupt on atmega8 version of arduino NG?
Does the atmega8 arduino NG have interrupts?-


Page 1 of the datasheet:



Yes, it has interrupts.




  just need one interrupt.


Page 46 of the datasheet:



It looks like you have 19 of them.




  regarding interrupts atmega8 is different168 there-so that may imply the the same code wont work -and I couldnt find any examples when searching


Try using the Arduino libraries. If that doesn't work post your code.