Quote Originally Posted by HankMcSpank View Post
Ok, with a view to creating the most simple of programs I'd overlooked the most basic of solutions (why does that happen immediately after pressing the post button). A simple loop with a 1 second pause in it would do here - and then keeping track of the number of times the loop has run. (this will translate into an approximate time for the job in hand)
Exactly. For a simple user interface for setting the duration, I would use a pot on an ADC pin; with 270 degrees of rotation, you could easily resolve the position into 10 total readings for setting the timer duration. Just add a dial around the pot, and you wouldnt even need a display.

Regards,

Anand