using interrupts

[quote author=GolamMostafa link=msg=3679464 date=1523016818

Can you please, reformat the program codes of your Post#3.
[/quote]
I believe that is what I did in Reply #7

...R