I'm new at programming the Arduino and had a question about it's use of interrupts.
After the Arduino finishes executing the interrupt routine, does it return to where it was when the interrupt was triggered? Or does it restart the loop function?
And any global variables that are set by your interrupt service routine probably should be "volatile" as they can be changed at any time and the reentrant part needs to know this. See the page below as it better explains: