using interrupts

cyborg8274:
can someone please look at the code and check if i have anything wrong

Compare your program to the code I posted in Reply #17

...R