Howard Simpson wrote: > > Hi all, > I have a reed relay on the RB0 Interrupt. It's very slow, say a second > on, and a few seconds off - to ground. > RB0 is made to detect the interrupt on the falling edge, that's OK. > Problem occurs when reed opens again, a second or so later. The contact > bounce creates a couple of rising and falling edges again, the latter of > which trigger interrupts. Force a timed delay period of 0.2 seconds etc where the contacts MUST be open. Only after this "safe" period is the system enabled ready for the FIRST falling edge. -Roman -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu