Problems with Arduino + IR + Raw code low memory im having a problem with my new project with arduino + ir emitter + big raw codes.

I've tryed this way:

https://gist.github.com/jjmjr/41ed083c8229d0218c962641c5af27b0

As you can see each of my raw code from air conditioner is huge so i've tryed with progmem using "a" (as turn on) command on serial to send the first line from the ir raw codes but didnt work.

Any one can help me?

Thanks
These are the beginning few data pairs.

You can see that they repeat in a predictable pattern.

Reduce the data in your sketch by storing a "key" for each pair of numbers.

First few pairs would be stored as something  like this.

0, 0, 0, 0, 0, X, Y, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0,

 508, 356,         // 0   make all zeros 508, 360 
 508, 360,         // 0   adjust the values if necessary
 504, 364,         // 0
 508, 356,         // 0
 508, 360,         // 0

 508, 25052,       // X

 3540, 1664,       // Y

 504, 1232,        // 1   make all (1) 508, 1230

 496, 364,         // 0
 504, 360,         // 0
 508, 360,         // 0

 508, 1232,        // 1

 492, 368,         // 0
 508, 356,         // 0
 512, 356,         // 0
 508, 360,         // 0

 508, 1232,        // 1

 492, 364,         // 0

 512, 1228,        // 1
 496, 1240,        // 1

 492, 368,         // 0

 508, 1228,
 496, 1240,
 492, 1240,
 492, 1240,
 492, 1240,


Check this out https://test.sui.li/oszi/