Thanks to everyone who offered ideas for detecting 2 inputs going 0-1 in the fastest time. I learned a lot and it was a good help. Basically now I'm torn between using int on change feature, which has advantages but sucks when you need to rely on it to detect two different inputs. The other option is polling the two inputs but I really need to record accurate period (freq) of both input signals. Polling around the other processes will add varying delays before the input 0-1 change is detected. Jitter problems. My third option is to upgrade to a more expensive chip like a 16F873 which has two capture pins. Unfortunately the board is very tight already with a SOIC 18 pin chip. Going to 28pin will be very hard and also involves extra costs... Searching the Mchip web site doesn't reveal any 18pin flash PICs with 2 capture pins. Darn. -Roman -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads