Dale wrote: > Absolutely. The sleep occurs after all inputs have been high, and the > next input is not occurring for some random period but not less than a few > tens of milliseconds after the chip goes to sleep -- it's a > human-activated input. If the device is put to sleep by a human action as well, is it possible that the switch is still bouncing when SLEEP is executed? Jason Harper -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu