Can you add a pot?

I'd connect it to an analog input, read the value, establish a pause or loop on that value then start main loop.

Robert