Hi Jinx. I think I sort of understand your method. Keep in mind I've never done bit banged serial reception. I'm saving up to buy Serial PIC'n...someday I hope. (BTW if anyone has one for sale, let me know). Anyway, if I understand correctly, you set a timer for some value smaller than the length of a bit, then sample the pic every interrupt right? But what if my timer interrupt lands right on a port change or something? Also I don't understand the INTF statement. Thanks, Josh Jinx wrote: > > > If you have any ideas or suggestions, they will be appreciated! > > An IR data stream from a dedicated IR transmitter IC will have > a pretty accurate data clock. You can use one of the timers to > sample the data bits, same as you would with s/w RS232. This > could be in the background, possibly all the time if you use it in > conjunction with INTF to find the start of a block of data > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu -- 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