At 11:06 AM 11/20/2003 -0800, Tom Deutschman wrote: >This may help http://www.microchip.com/download/appnote/pic16/00234a.pdf That's the general idea, but I'm looking for something that will help calculate resistance values for maximum spread. The circuit that I have to work with, has three resistors in series, across a cap. Two of the resistors have buttons across them, the last one does not. Crude ascii art /-S1--+-S2--\ | | | Pin-----+-+-ra--+-rb--+-rc----Ground \------------C--------Ground So I have four time constants: C*Rc C*(Rc+Rb) C*(Ra+Rb) C*(Ra+Rb+Rc) I'd like to get as much spread as possible between the time constants. (within reason!) -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.