On 10/16/03 15:16, trottintrails said...
according to the formula for calculating the code,
What formula.
the codes that were in the above file link for
CCF were incorrect. The 8bit blocks didn't compliment
each other like they were supposed to.
I think you misunderstood which 8 bit blocks are supposed to compliment each other.
There are four 8 bit blocks. The fourth on is supposed to be the compiment of the third and it is correct in every sample in that CCF file.
The second 8 bit block is supposed to be the same as the first, not the compliment of the first and that also is correct in every sample in that file.
This protocol is very similar to the older form of NEC (still used by Toshiba etc.) in which the second block is supposed to be the compliment of the first. You may be looking at documentation on that protocol and thinking it applies to this one. In the more common NEC protocol, the second block is an independent piece of information (what we call "subdevice") and typically not equal to either the first block or its compliment.