kayel:
Your emitter seems to be sending some sort of home-brew code.I don't use the IR librairies so I can't help you with that. Maybe if you give the output from the following sketch, someone else will be able to help you.
int pin = 7;
unsigned long duration;
void setup()
{
Serial.begin(115200);
pinMode(pin, INPUT);
}
void loop()
{
duration = pulseIn(pin, LOW);
if(duration)
Serial.println(duration);
}
If not, you're going to have to do some reading. https://www.analysir.com/blog/2015/05/12/simple-infrared-pwm-on-arduino/
Thanks.. I don't successes with this. but I have another question, Is there a relation between the array - RAW
to the code - value ?