Hi schlaray,
I got to thinking about your project again. Darrel Taylor had a great program called "Elapsed Timer" posted on this forum some time ago. Your ADC reading could trigger the timer and you just monitor the count until it reaches the point you want to stop at and do what you need to do.
BobK
Bookmarks