What is Biphase/RC5?=20 I have been working on a program that records and retransmits IR = commands after recieving the respective RF command on 16f628. (The IR = part is finally working well in 'Mode1' which will capture any command = that has a max of 80 pulse and a max pulse width of 1.2 secs. Mode2 will = have a max of 160 pulses with a max pulse width of 6.7mS other Modes = will have a variation on resolution) The next part is to decode a signal from a mc14496 keyboard decoder that = transmits via RF 304Mhz TX/RX pair. The wave form looks like this |AGC| STRT| fff|fff |fff |fff =20 AGC =3D AGC burst STRT =3D Start bit fff =3D freq 28khz | fff| is a 1 |fff | is a 0 If this is biphase coding then I have successful decoded this using a = HC11 and about to port it to 16f628 using input/output capture and you = are welcome to the code (and the ported code when I am done) and an = explanation of how I decoded it. May not be the best solution (or RC5) = but it worked well in a noisy environment were I could detect false = triggers. Let me know. Justin -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics