Measure Dispensed Water, repeat with push button

Robin2:
I can't see any value in detaching it.

...R

You're right, Thanks Robin. I just deleted the detachinterrupt and the last attachinterrupt still works the same.

dougp:
You can enable and disable interrupts under program control. As I understand it, interrupts received while disabled will be serviced once reenabled. Interrupts received while detached are just gone.

This is very interesting, thank you for point me in this direction