Page 1 of 1

IR code translation

Posted: Thu Jul 15, 2021 9:27 pm
by jsissom
Hello, I was able to get the KontrolIR v1.0.11 firmware installed and sending codes. It was difficult to figure out which IRremote library to use because of conflicting information. The Wiki says 2.8.2 but there is no version 2.8.2. The closest is version 3.0.0 which doesn't appear to work. I am using 2.7.0.

I have IRremote installed on a stand alone arduino and when using IRdump have determined that my TV remote sends NEC:

uint16_t address = 0x4;
uint16_t command = 0x8;
uint32_t data = 0xF708FB04;

I tried using this in the KontrolIR firmware:
KIR_sendNEC(0xF708FB04);

Unfortunately, that sends this:

uint16_t address = 0xEF;
uint16_t command = 0xDF;
uint32_t data = 0x20DF10EF;

Can you tell me how to translate the output from IRremote into KIR_sendNEC codes?

Thank you
Jay

Re: IR code translation

Posted: Tue Jul 20, 2021 12:59 pm
by AnalysIR
I suggest you only use version 2.6.1 of IRremote only & have updated the WiKi to reflect that.

The recent updates to IRremote have changed usage of the library without maintaining 'smooth' historical support. So we have avoided using it until things settle down more with the library.

PS: sorry about the mix-up.