Do something once when switch closed, then blink LED until switch opened

Or...

"An expert is a person who has made all the mistakes that can be made in a very narrow field." - Niels Bohr

I keep on making new ones, so I must defer...