At 10:53 AM 12/30/96 -0800, you wrote: >Does anyone have a slick method for detecting rising or falling edges? I >keep ending up with a variation of these two methods, and both seem cheesy. > Which PIC are you using? Why don't you use the interrupt on edge? The 16c84 can be programmed to interrupt on a falling or rising edge on pin RB0. I have only used the 16c84, buy I guess other pics have this feature too. ____________________ Gonzalo Palarea chalo@infovia.com.gt