I'm trying to Interrupt with a switch. Can I do this?

Programming without delay():