The OP mentioned 'slowly changing signals'. This is a hint that the problem can be addressed by using a time varying signal. See: http://www.edn.com/archives/1996/101096/21di_01.htm which does just that using a simple triangle wave generator, a comparator, an analog switch, and a couple of discretes. Really rather elegant. Bob Ammerman| RAm Systems -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist