> beginning of the > isr. Not recommeded, it however should still work a-ok. > The key point is to re-set the hi-lo or lo-hi a.s.a.p. then perform the rest > of > decoding. I think ? > > /tony You could be right. Depends on the IR pulses coming in. Some remote controls use just a few microseconds for each pulse (to get more range) but have quite a long time between pulses, perhaps 100us. The only necessary function of the ISR is to capture the edge and toggle the trigger polarity for the next one. The data bit itself can be determined and worked on outside the ISR. Personally I prefer to have the ISR over and done with just to keep things tidy -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads