using interrupts

cyborg8274:
you tell me what is wrong please.

Not until you show that you are doing some thinking for yourself.

What significant differences do you see between my code in Reply #17 and your code in Reply #20.

...R