On Tue, 10 Jun 2003 09:22:40 -0400, you wrote: >> Usually, the highs are fixed in length and the lows are one of two >> lengths. They are the one's and zero's. Sometimes lows are fixed & >> highs change. >> Create a bit banging serial routine that does them 8 bits at a time = but >> instead of just highs & lows, you're encoding the short & long marks. >> Also, remember that you'll have to do the space between pulse trains & >> send the whole sequence at least twice for the equipment to recognise = it >> as valid data. Do you get what I mean? Hope this helps. :-) > >Also IR codes have a preamble of "sync" bits that let the receiver auto >gain circuitry stabalize. All the codes I've seen also contain some = sort >of checksum because the bit error rate is assumed to be significant. = The >real payload data is somewhere in the middle of a burst and might be >tricky to spot. You need to look at several different burst. Most consumer codes do not have checksums, but it is not uncommon for = receivers to only respond after seeing 2 correct codes.=20 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu