At the register level there is no such thing as a simple interrupt.
If you haven't already seen this, have a look at the FrequencyTimer2 library. This enables you to use interrupts without having to read and understand all the low level information in the ATmega168 datasheet.
Mem: "without having to read and understand all the low level information in the ATmega168 datasheet" that woul come handy for me.
However, it seems FrequencyTimer2 lib seems not working with arduino>11 anymore?
I get this errors:
In file included from D:\Programme\arduino-0013\hardware\cores\arduino/WProgram.h:4,
d:/programme/arduino-0013/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected unqualified-id before 'int'
d:/programme/arduino-0013/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int'
d:/programme/arduino-0013/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int'
In file included from D:\Programme\arduino-0013\hardware\cores\arduino/WProgram.h:6,