http://exploreembedded.com/wiki/index.php?title=File:AVR_Interupt.pdf Code and Explanation will update soon..