>Aren't the timer synchronous interrupts. If so, then the bug doesn't apply >IIUC. >Bob Ammerman >RAm Systems In my case, the interrupt is from INT0 or INT1, depending on the IR frequency. On each interrupt, I capture the 16 bit value of TMR3, then reset the timer. I also reverse the edge detect for the associated input so I can watch it coming and going. Since the IR Detectors are not "clocked" by the PIC, I think that counts as asynchronous. Please correct me if I am mistaken. I end up with a table of periods between each edge from the IR signal. The fun part is applying any number of decoders to the data to try and decipher the format, device, and key pressed. If it weren't for info from Wagners site, I wouldn't even try to do the decoding part. Thanks Wagner! Lyle -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.