07-24-2008 04:36 PM - edited 07-24-2008 04:38 PM
07-25-2008 07:27 AM
07-25-2008 08:54 AM - edited 07-25-2008 08:56 AM
Not to distract from what appears to be a working solution, but it seems like you could still use the counter. The counter's low value is at 0.8 V, and the high value is at 2 V. This should not be hard to do, either by stringing the pot between 2 different power sources (a negative and a positive), or by setting the pot as the lower leg of a voltage divider to get the offset you want. Or by a combination of the two if your power sources are not variable, like with a couple batteries. 🙂 Batteries would not be ideal, but if you do use them, just use high resistances.
With a sufficient delay in your VI loop, you don't really have to worry about debouncing.
