EM shutter almost working. Still a few things needed...

Complete code should be shown.
CTRL-T in the Arduino IDE should be used to auto-format the code.
Interrupt Service Routines (ISRs) should execute quickly. Thus, they should NEVER contain a call to delay(...).
Instead of using delay(...) in the loop function to waste ten seconds of time, a millis() based approach could do the same job and would not need an ISR.
Arduino programmers usually avoid pins 0 and 1 because they are shared with the serial port.