Ok, since I can't seem to find anyone that's really done exactly what I want to do, I seem to be forging new ground. Unfortunately, I'm not that great at it, so I have a few questions. I plan on using one of the little IR modules to decode the actual IR signal and give me a ttl out. The question now is, what's the best way to deal with it? I'd like to stay away from just polling, because the PIC will be doing a bunch of other things, and I don't want to run the risk of missing IR pulses. I could use the external interrupt, so that every time there is a pulse I'd check a TMR. The problem I see there is that I have to set the interrupt to trigger on rising edge or falling edge, I can't do both. I don't want to mess with portB interrupt on change. I was thinking I could use the CCP module, but I don't really know how. I guess it would trigger when it receives a pulse from the IR module, then captures the value in the TMR. Then I could check the value of that against what my high and low timings should be, and go from there. Again I think I run into the rising/falling edge thing though. I'm really confused here. I'm sure that there is a solution somewhere, I just can't quite figure it out. If you have any ideas or suggestions, they will be appreciated! Thanks, Josh -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu