Hello
I'm trying to build a Arduino based system that will control by Home Air Conditioner (A/C).
using Logic analyzer and IR receiver I was able to extract the code that the A/C Remote is sending of a command. (see attach files)
it seem like it is sending NEC according the following sequence:
1) Send the Code (e.g. 0xB335A962)
2) Send the inversion (NOT op) of the code (e.g. 0x4CCA569D)
3) Send the Code again (e.g. 0xB335A962)
I tried to reproduce this sequence using Ardiuno code, but for some reason it does not work.
the circuit that I'm using it very simple, it is a 2n2222 transistor and IR LED (I tried 2 type of LED: TOIR-30 and "Super-bright 5mm IR LED - 940nm" from Adafruit)
my circuit schematics is also attach.
using logic analyzer I compare the output on the GPIO and it seem like the signal on the IR receiver
I tried to send the codes using IRRemote lib that I found and also the example from the EEVBLOG, both didn't work for me.
the source code that I tried:
http://pastebin.com/Zi3KCUshhttp://pastebin.com/xue5wstxI'm stuck...

I really need some advices and ideas

Thanks in Advance