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?