Hi Dick,

If the user will not be pressing & holding the switch, then read the port pin after the 2 sec
pause.

Otherwise you need to wait for the pin to return to the non-button-pressed state or it just
interrupts again after the port read & switch release.

If it's a one-shot deal, just disable it by clearing IOCA.4.