Trouble with Trigger/ADC

From the documentation for attachInterupt() :

Inside the attached function, delay() won't work and the value returned by millis() will not increment. Serial data received while in the function may be lost. You should declare as volatile any variables that you modify within the attached function.