> Okay, how about this (thinking it should work, though I haven't tried it)= .... > - Set a deadband that will eliminate that bit toggling (say 2). > - If you detect a change that's greater than 2, set the deadband to > zero, and start a timer for a few seconds. > - Keep resetting the timer as changes greater than 2 are detected (even > though the deadband is 0). > - After not seeing any change of at least the 2 for over those few > seconds (timer runs out), re-set the deadband back to 2. > > Since I really doubt anyone will be able to nudge the pot just 1 bit, > this would detect if someone is using it and let them get to 1 LSB while > changing it. Seeing no change of at least the deadband value for a few > seconds would indicate that no one is changing it, so you lock it at > that value (by re-introducing the deadband). > > Cheers, > -Neil. > > Thanks Neil, actually in my original post I was wondering about a=20 technique such as what you describe, I haven't tried it yet and was =20 curious if others had used it. When I get back to this project in a=20 couple of days I may give it a go along with some of the other awesome=20 suggestions by folks on the list. Cheers, Jim --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .