Hi Shawn. Thanks, I have already implemented that debouce routine in other projects. I am (was) trying to debounce Vcc, +3V, The input power switch. Not just an input pin. It is hard to debounce in software when the PIC is not yet running... ;-) Thanks Rolf Shawn Wilton wrote: > Google ganssle and debounce for a great debounce article. > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist