I haven't messed around with it yet but what I want to do is create a reasonably precise set of time delays with a PIC.

I could program pins to do this as I only need several values but was thinking I bet I could do it with pot on a single input pin? (I've never used pot before)

What would be cool is if the trimmer had enough range, I'd like to jump in several 5 second increments.

Say, fully CCW = 15 seconds.

As you move the pot CW, there would be a trigger point for 20 seconds, the next 25 seconds and so on....till "whatever"....40 seconds or so.

As I fall into a range of values, an I/O pin would go high along with an led designating the delay time.

b0 = 15 secs
b1 = 20 secs
b2 = 25 secs etc

Feasible?

Can you in essence make "pot" sort of a precision pot?
Like....
If blah blah = a range of values then delay = 20 seconds

THANKS