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

You do not want to tie it up for two long and I would think 10ms is the maximum.

I'd say 10ms is more than 9ms too long for what you have to do.