Close Lyndel, but LIRC files (such as the one pipster found) almost always have the bits in pure MSB sequence.
NEC protocols and 900A format pronto hex use LSB sequence within each byte.
So to translate, you need to reverse the bits in each byte. It is device 127, not 254.
900A 006D 0000 0001 7F80 00FF
For the other functions in that file
[Link: lirc.sourceforge.net] you need to reverse each byte (00 and FF are the same reversed, but the others aren't).
Most LIRC files also invert the polarity, but that one didn't.
BTW, pipster, it's always better to provide the URL where you got your info. I knew at a glance the "254" was wrong, but forgot things I should have remembered about Yamaha and LIRC to tell me what was right. Fortunately the thing you quoted was very easy to track down via google. A glance at the whole LIRC file made it easy for me to see what I maybe should have seen from just 0x00000000FE0100FF
Last edited by johnsfine
on August 28, 2007 21:48.