esp8266 blinker 报错 Fatal excepeion 28
最近想做物联网开发于是在淘宝买了一个esp8266 和若干个模块!由于以前从来没接触过这一行,所以很多问题都是很难解决的!最近做的这个红外线控制空调的小程序就遇到了一个棘手的问题,估计对于高手和懂编程的来说不算问题,但是对于我这个不会编程的人来说这个问题困扰我几天!就是在使用blinker这个做小爱同学的控制时老是报Fatal excepeion 28这个问题,并且掉线!由于我家空调是康佳的,IRremoteESP8266-master里面没有对应的库,所以只好用sendRaw来发送红外数据,但是我发现使用到一定数量的sendraw后程序就老是报错,查阅相关资料才知道估计是内存不足!开始我也不知道是数组太大导致的,后来反复调试才发现!
//以上省略 const uint16_t ktk[227] = {3054, 1554, 524, 2096, 526, 2094, 526, 1048, 524, 1048, 526, 1046, 526, 2094, 524, 1048, 524, 1046, 524, 2096, 524, 2094, 528, 1046, 524, 2096, 526, 1046, 524, 1048, 526, 2094, 526, 2096, 524, 1048, 526, 2096, 522, 2096, 524, 1048, 526, 1046, 526, 2096, 524, 1046, 526, 1046, 526, 2096, 526, 1048, 524, 1048, 526, 1048, 524, 1046, 526, 1046, 526, 1048, 524, 1046, 524, 1048, 526, 1046, 524, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1046, 526, 2096, 524, 1048, 524, 1048, 526, 2096, 524, 1046, 524, 1048, 524, 2096, 526, 2096, 524, 1048, 524, 1046, 526, 1048, 524, 1046, 526, 1046, 524, 1048, 526, 1046, 524, 1046, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1046, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 526, 1046, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 526, 1046, 526, 1048, 524, 1048, 524, 1046, 526, 1046, 526, 1046, 526, 1046, 526, 1046, 526, 1046, 524, 1048, 524, 1046, 526, 1046, 526, 1046, 526, 1046, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1046, 526, 1046, 526, 1048, 524, 1046, 526, 1048, 524, 1046, 526, 1046, 524, 1048, 524, 2096, 524, 1048, 526, 1046, 526, 1046, 526, 1046, 524, 1046, 526, 1046, 524, 2096, 524, 2096, 524}; // UNKNOWN 2F92AC2C const uint16_t ktg[227] = {3024, 1584, 498, 2122, 494, 2126, 500, 1074, 470, 1100, 498, 1074, 498, 2122, 494, 1078, 502, 1068, 500, 2122, 500, 2122, 496, 1076, 500, 2122, 498, 1074, 494, 1078, 500, 2122, 494, 2124, 498, 1076, 496, 2124, 498, 2122, 502, 1068, 498, 1076, 498, 2122, 500, 1072, 498, 1074, 496, 2126, 496, 1076, 498, 1074, 500, 1072, 498, 1072, 494, 1076, 502, 1070, 502, 1070, 496, 1076, 494, 1076, 492, 1080, 494, 1076, 496, 1078, 496, 1076, 496, 1078, 494, 1076, 498, 1074, 496, 1076, 494, 1078, 494, 1078, 496, 1074, 500, 2122, 498, 1074, 494, 1076, 498, 2124, 498, 2124, 494, 1078, 494, 1076, 496, 1076, 496, 1076, 498, 1074, 498, 1074, 502, 1070, 498, 1074, 498, 2124, 498, 1074, 496, 1076, 494, 1078, 496, 1074, 496, 1078, 468, 1104, 496, 1074, 498, 1074, 498, 1074, 494, 1078, 494, 1078, 496, 1078, 494, 1078, 496, 1074, 500, 1074, 496, 1076, 494, 1076, 494, 1076, 494, 1078, 494, 1076, 496, 1076, 498, 1074, 468, 1102, 468, 1106, 494, 1078, 496, 1076, 496, 1074, 496, 1078, 496, 1076, 492, 1078, 468, 1104, 496, 1076, 492, 1080, 496, 1076, 468, 1104, 496, 1076, 466, 1106, 494, 1076, 494, 1078, 494, 1080, 494, 1076, 492, 1080, 494, 1078, 492, 1078, 468, 2154, 466, 1104, 468, 1106, 494, 2126, 494, 2126, 490, 2130, 490, 2130, 494, 1078, 494, 2126, 494}; const uint16_t ktwd20[227] = {3052, 1554, 524, 2098, 524, 2098, 522, 1048, 524, 1048, 524, 1050, 522, 2098, 524, 1048, 524, 1050, 524, 2096, 524, 2100, 522, 1050, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 2098, 524, 1048, 524, 2096, 526, 2098, 524, 1048, 524, 1048, 524, 2100, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 522, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 522, 1048, 524, 1048, 524, 1050, 522, 1048, 524, 1050, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 522, 1050, 524, 1046, 526, 2098, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 524, 1048, 522, 1050, 524, 2098, 524, 2098, 524, 1050, 524, 2096, 526, 1048, 522, 1048, 524, 1050, 522, 1050, 524, 1046, 526, 2098, 524, 1048, 524, 2098, 524, 2098, 526, 2096, 522, 1048, 524, 1048, 524, 1048, 524, 1048, 522, 1050, 524, 1048, 524, 1050, 522, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 522, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 524, 1048, 526, 2098, 524, 1050, 524, 1048, 522, 1050, 524, 2098, 522, 2100, 524, 1048, 524, 1048, 524, 2100, 522, 1048, 524, 1048, 524, 1048, 524, 1048, 498}; // UNKNOWN F282BFD7 const uint16_t ktwd21[227] = {3054, 1554, 524, 2096, 524, 2098, 524, 1048, 524, 1048, 526, 1048, 524, 2098, 526, 1048, 524, 1048, 524, 2098, 524, 2098, 524, 1048, 524, 2100, 522, 1048, 524, 1048, 524, 2098, 522, 2098, 526, 1048, 526, 2098, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 526, 1046, 526, 1048, 526, 2098, 524, 1048, 524, 1048, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 526, 1048, 524, 1048, 526, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 526, 2096, 526, 1048, 526, 1048, 524, 2096, 526, 2098, 524, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1048, 526, 2098, 524, 1048, 526, 2098, 524, 1048, 524, 1048, 524, 1050, 522, 1048, 526, 1048, 526, 2096, 524, 1048, 524, 2096, 524, 2098, 524, 2098, 526, 1048, 524, 1048, 526, 1046, 526, 1046, 526, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1050, 522, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 524, 1048, 522, 1050, 524, 1048, 526, 1046, 526, 1046, 526, 2098, 522, 1048, 526, 1048, 524, 1048, 526, 2096, 526, 1046, 526, 1048, 524, 1050, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524}; // UNKNOWN 99CD803B const uint16_t ktwd22[227] = {3054, 1554, 524, 2098, 526, 2098, 524, 1048, 526, 1046, 524, 1048, 524, 2096, 526, 1048, 524, 1048, 526, 2096, 526, 2096, 526, 1048, 524, 2098, 524, 1048, 524, 1048, 526, 2096, 526, 2098, 524, 1048, 524, 2096, 526, 2096, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2094, 528, 1048, 524, 1048, 524, 2098, 524, 2098, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 526, 1048, 522, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 2096, 524, 1050, 522, 2098, 522, 2098, 524, 2098, 524, 1048, 524, 1046, 524, 1048, 524, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1052, 522, 1046, 524, 1048, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 526, 1048, 524, 1048, 526, 2096, 524, 2098, 524, 2098, 524, 2098, 524, 1048, 524, 1050, 524, 1048, 524, 1048, 524, 1046, 526}; // UNKNOWN BB4821D1 const uint16_t ktwd23[227] = {3034, 1572, 500, 2122, 500, 2122, 502, 1072, 502, 1070, 502, 1070, 502, 2120, 504, 1070, 500, 1072, 500, 2122, 500, 2122, 500, 1070, 504, 2120, 500, 1070, 504, 1068, 504, 2120, 500, 2120, 502, 1070, 500, 2124, 504, 2118, 500, 1072, 502, 1072, 504, 2118, 500, 1072, 500, 1070, 502, 2122, 500, 1070, 502, 1070, 504, 1068, 502, 1070, 500, 1070, 502, 1070, 504, 1068, 502, 1070, 502, 1070, 500, 1072, 504, 1068, 504, 1070, 500, 1072, 502, 1070, 502, 1072, 502, 1068, 502, 1070, 502, 2120, 502, 1070, 502, 1070, 502, 2120, 504, 1068, 504, 1070, 502, 2118, 502, 2122, 500, 1070, 500, 1072, 502, 1070, 502, 1070, 504, 1068, 502, 1070, 504, 1068, 506, 1068, 502, 1070, 502, 2122, 502, 1068, 502, 1072, 500, 1070, 506, 1066, 504, 1068, 506, 2116, 504, 1068, 500, 2124, 500, 2120, 502, 2120, 504, 1068, 502, 1070, 500, 1074, 500, 1070, 500, 1072, 502, 1070, 502, 1072, 502, 1068, 502, 1072, 506, 1068, 504, 1068, 506, 1066, 504, 1070, 502, 1070, 530, 1044, 502, 1068, 506, 1068, 500, 1072, 502, 1072, 500, 1072, 502, 1070, 504, 1066, 506, 1068, 506, 1066, 504, 1070, 504, 1068, 500, 1072, 504, 1068, 504, 1068, 504, 2120, 502, 1070, 500, 1070, 506, 1068, 500, 2122, 502, 1070, 506, 2116, 500, 2120, 502, 1070, 504, 1070, 500, 1072, 504, 1068, 504, 1070, 502}; // UNKNOWN A4586435 const uint16_t ktwd24[227] = {3030, 1576, 502, 2120, 500, 2122, 476, 1100, 500, 1072, 506, 1066, 502, 2120, 500, 1074, 500, 1072, 502, 2122, 502, 2118, 502, 1072, 500, 2122, 500, 1072, 500, 1072, 502, 2120, 500, 2124, 500, 1072, 500, 2122, 500, 2122, 498, 1072, 500, 1074, 504, 2116, 500, 1072, 500, 1072, 500, 2120, 498, 1076, 502, 1070, 500, 1072, 500, 1072, 504, 1068, 502, 1070, 500, 1072, 500, 1072, 502, 1070, 502, 1072, 502, 1070, 502, 1070, 502, 1070, 500, 1072, 502, 1070, 500, 1072, 504, 1068, 500, 2122, 502, 1070, 502, 1070, 500, 2120, 500, 1072, 502, 1072, 500, 2120, 504, 2120, 500, 1072, 500, 1072, 500, 1074, 498, 1072, 502, 1072, 500, 1072, 500, 2120, 500, 2122, 500, 2124, 498, 1072, 500, 1072, 526, 1048, 500, 1072, 500, 1072, 500, 1072, 500, 2124, 500, 1070, 500, 2122, 500, 2122, 500, 2120, 502, 1072, 500, 1072, 500, 1072, 502, 1070, 502, 1072, 500, 1072, 500, 1072, 500, 1074, 500, 1072, 500, 1072, 500, 1072, 502, 1070, 500, 1072, 502, 1072, 524, 1048, 500, 1072, 502, 1070, 500, 1072, 526, 1046, 500, 1072, 500, 1072, 522, 1048, 500, 1072, 502, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1074, 500, 2122, 500, 1072, 500, 1072, 500, 1072, 500, 2122, 526, 2096, 500, 1072, 526, 2096, 500, 1072, 500, 1074, 500, 1072, 500, 1072, 500, 1072, 500}; // UNKNOWN 9ED3A1AD const uint16_t ktwd25[227] = {3034, 1574, 502, 2120, 500, 2122, 500, 1072, 500, 1072, 504, 1068, 504, 2118, 500, 1072, 504, 1070, 502, 2118, 504, 2118, 502, 1070, 502, 2120, 526, 1046, 502, 1070, 502, 2120, 500, 2124, 500, 1072, 504, 2116, 502, 2120, 500, 1072, 502, 1070, 504, 2118, 500, 1070, 506, 1068, 502, 2120, 500, 1070, 502, 1070, 502, 1070, 504, 1070, 502, 1070, 502, 1070, 504, 1070, 530, 1044, 504, 1068, 502, 1068, 502, 1070, 500, 1072, 502, 1070, 504, 1068, 500, 1072, 502, 1070, 506, 1066, 502, 2120, 502, 1068, 502, 1070, 504, 2116, 502, 1070, 504, 1068, 504, 2118, 500, 2122, 504, 1070, 502, 1068, 504, 1070, 502, 1070, 500, 1074, 502, 1070, 530, 1042, 500, 2122, 504, 2118, 500, 1070, 502, 1070, 504, 1068, 500, 1072, 530, 1040, 504, 1070, 502, 2120, 502, 1068, 502, 2120, 500, 2120, 504, 2120, 508, 1064, 502, 1070, 502, 1070, 502, 1070, 502, 1070, 502, 1070, 504, 1070, 502, 1068, 504, 1070, 502, 1070, 502, 1070, 502, 1068, 506, 1068, 508, 1062, 504, 1068, 502, 1070, 502, 1070, 502, 1070, 504, 1068, 502, 1070, 502, 1070, 500, 1070, 506, 1066, 504, 1068, 502, 1072, 504, 1068, 502, 1070, 506, 1066, 502, 1070, 502, 2118, 502, 1070, 500, 1072, 506, 1066, 504, 2118, 500, 1072, 500, 1072, 502, 2120, 500, 1070, 502, 1070, 504, 1070, 504, 1070, 502, 1068, 502}; // UNKNOWN 461E6211 const uint16_t ktwd26[227] = {3052, 1556, 524, 2098, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 526, 2098, 524, 2096, 526, 1048, 524, 2098, 524, 1048, 526, 1046, 526, 2096, 526, 2096, 526, 1048, 524, 2096, 526, 2098, 526, 1048, 524, 1048, 524, 2098, 526, 1048, 524, 1048, 524, 2096, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1048, 522, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 2098, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 526, 1048, 526, 1046, 526, 2096, 526, 1048, 524, 2096, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 2100, 522, 2098, 526, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 522, 1050, 524, 1050, 522, 1050, 524, 1050, 524, 1048, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 524, 1048, 524, 1050, 524, 1048, 524, 1048, 524, 1050, 522, 2100, 524, 1048, 524, 1048, 524, 1048, 526, 2098, 522, 2098, 526, 2096, 524, 1048, 524, 1048, 524, 1050, 522, 1048, 524, 1048, 524, 1048, 498}; // UNKNOWN 5FE86161 const uint16_t ktwd27[227] = {3052, 1554, 526, 2096, 526, 2096, 524, 1048, 526, 1048, 524, 1048, 524, 2096, 526, 1048, 524, 1048, 524, 2098, 524, 2100, 522, 1048, 524, 2096, 526, 1048, 526, 1046, 526, 2098, 524, 2098, 524, 1048, 526, 2096, 524, 2098, 524, 1048, 526, 1048, 524, 2098, 524, 1048, 526, 1048, 524, 2098, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1050, 524, 1048, 524, 2100, 524, 1048, 524, 1048, 526, 2096, 524, 1048, 522, 1048, 524, 2098, 524, 2098, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 522, 1050, 524, 1048, 524, 1050, 524, 2098, 522, 1050, 526, 1048, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 526, 2098, 524, 1048, 524, 2100, 508, 2112, 526, 2098, 524, 1048, 524, 1048, 514, 1058, 526, 1048, 524, 1048, 524, 1048, 526, 1046, 526, 1048, 524, 1050, 500, 1072, 524, 1048, 500, 1072, 524, 1050, 522, 1050, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 500, 1074, 524, 1048, 526, 1048, 524, 1048, 500, 1072, 516, 1058, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 500, 2122, 500, 1074, 500, 2122, 500, 1072, 524, 1048, 500, 1072, 526, 1048, 500, 1074, 506, 1066, 500}; // UNKNOWN CB94054D const uint16_t ktwd28[227] = {3064, 1544, 500, 2124, 502, 2120, 502, 1070, 502, 1072, 502, 1070, 502, 2120, 502, 1072, 502, 1072, 500, 2120, 502, 2122, 500, 1072, 502, 2120, 502, 1070, 504, 1070, 502, 2120, 504, 2118, 506, 1068, 504, 2120, 500, 2120, 502, 1072, 500, 1072, 500, 2120, 504, 1070, 502, 1072, 500, 2120, 500, 1070, 504, 1070, 502, 1070, 500, 1072, 500, 1072, 500, 1072, 502, 1070, 506, 1068, 500, 1072, 504, 1070, 502, 1070, 500, 1074, 502, 1070, 504, 1070, 500, 1072, 502, 1070, 500, 1072, 504, 2118, 504, 1070, 506, 1066, 500, 2122, 502, 1072, 500, 1072, 532, 2092, 504, 2118, 502, 1070, 500, 1074, 502, 1070, 500, 1072, 502, 1068, 502, 1070, 502, 2122, 504, 2118, 502, 1070, 506, 1068, 502, 1070, 504, 1070, 502, 1070, 502, 1072, 504, 1070, 500, 2120, 502, 1072, 502, 2120, 504, 2118, 498, 2124, 502, 1070, 502, 1070, 502, 1070, 502, 1070, 504, 1068, 528, 1044, 504, 1068, 502, 1070, 498, 1074, 502, 1070, 502, 1070, 506, 1066, 504, 1068, 504, 1070, 500, 1070, 504, 1070, 504, 1068, 502, 1070, 502, 1068, 504, 1070, 500, 1072, 502, 1068, 504, 1070, 502, 1070, 500, 1074, 500, 1072, 500, 1072, 500, 1072, 502, 1072, 500, 2122, 500, 1072, 498, 1074, 500, 1074, 496, 2122, 500, 2124, 500, 1072, 500, 1072, 500, 1072, 500, 1074, 500, 1072, 500, 1072, 500, 1072, 496}; // UNKNOWN 5597313F const uint16_t ktwd29[227] = {3028, 1580, 524, 2098, 500, 2120, 500, 1072, 500, 1072, 500, 1072, 500, 2082, 540, 1070, 524, 1048, 500, 2122, 498, 2122, 502, 1072, 500, 2122, 500, 1072, 500, 1072, 500, 2122, 498, 2124, 500, 1072, 500, 2122, 500, 2122, 524, 1048, 500, 1072, 500, 2120, 500, 1074, 500, 1072, 500, 2122, 500, 1072, 524, 1048, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 524, 1048, 500, 1072, 502, 1072, 500, 1072, 500, 1072, 500, 1072, 526, 1048, 500, 1072, 500, 1072, 500, 1072, 502, 2120, 500, 1072, 500, 1072, 498, 2122, 500, 1072, 500, 1072, 500, 2122, 500, 2122, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 498, 1074, 500, 1072, 524, 1048, 500, 2122, 528, 1046, 502, 1070, 524, 1048, 500, 1072, 500, 1074, 500, 1072, 502, 1070, 526, 2096, 500, 1072, 500, 2124, 500, 2120, 500, 2122, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 526, 1048, 524, 1046, 500, 1074, 500, 1072, 500, 1072, 500, 1072, 500, 1074, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1074, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 502, 1070, 500, 1074, 502, 1072, 500, 1072, 500, 1072, 500, 2122, 502, 1070, 500, 1072, 500, 1074, 500, 2122, 500, 1072, 500, 1072, 498, 1074, 500, 1072, 500, 1072, 500, 1074, 498, 1072, 500, 1074, 500}; // UNKNOWN FCE1F1A3 const uint16_t ktsm[227] = {3028, 1578, 502, 2120, 500, 2122, 498, 1072, 502, 1070, 500, 1072, 500, 2120, 500, 1072, 500, 1072, 500, 2122, 500, 2122, 500, 1070, 502, 2122, 500, 1072, 500, 1070, 502, 2120, 524, 2096, 502, 1072, 500, 2120, 526, 2094, 502, 1072, 526, 1046, 500, 2120, 502, 1070, 500, 1072, 500, 2120, 526, 1046, 526, 1046, 502, 1072, 526, 1046, 502, 1070, 500, 1072, 526, 1046, 526, 1048, 500, 1072, 500, 1072, 526, 1044, 502, 1072, 500, 1072, 500, 1072, 500, 1072, 524, 1048, 500, 1072, 500, 2120, 500, 1070, 502, 1072, 502, 2120, 500, 1072, 502, 1072, 498, 2122, 502, 2122, 526, 1046, 524, 1048, 500, 1074, 500, 1070, 524, 1048, 500, 1072, 524, 2098, 502, 1070, 524, 2098, 526, 1046, 524, 1048, 502, 1070, 500, 1072, 500, 1072, 526, 2096, 526, 1048, 500, 1070, 502, 1070, 526, 1048, 526, 1046, 500, 1072, 526, 1046, 524, 1048, 500, 1072, 524, 1044, 528, 1046, 502, 1072, 526, 1046, 526, 1046, 524, 1048, 524, 1048, 500, 1072, 524, 1048, 526, 1046, 522, 1050, 524, 1046, 502, 1070, 510, 1062, 526, 1046, 526, 1046, 526, 1046, 524, 1048, 524, 1048, 500, 1072, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1046, 500, 1072, 526, 1048, 526, 1046, 500, 1072, 526, 2096, 516, 1056, 526, 2096, 526, 1046, 526, 1046, 500, 1072, 526, 1046, 524, 2098, 526, 2094, 526}; // UNKNOWN 6ED11A62 const uint16_t ktms1[227] = {3052, 1554, 526, 2096, 524, 2098, 524, 1048, 526, 1046, 526, 1048, 524, 2096, 526, 1048, 524, 1048, 526, 2096, 524, 2096, 526, 1048, 524, 2098, 526, 1046, 526, 1046, 526, 2098, 524, 2096, 526, 1046, 524, 2096, 528, 2094, 526, 1048, 524, 1048, 526, 2096, 524, 1048, 526, 1048, 524, 2098, 526, 1046, 526, 1046, 526, 1048, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 526, 1046, 526, 1048, 524, 1046, 526, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 526, 1046, 526, 2096, 524, 1046, 526, 1048, 526, 2096, 524, 1048, 524, 1048, 524, 1046, 526, 1048, 526, 1046, 526, 2096, 526, 1046, 524, 1046, 526, 1046, 524, 1048, 524, 1048, 526, 1046, 526, 1046, 524, 2096, 526, 1048, 526, 1046, 524, 1048, 526, 1042, 530, 2096, 526, 1048, 524, 2096, 526, 2096, 524, 2096, 526, 2096, 524, 1048, 526, 1048, 524, 1048, 524, 1046, 526, 1048, 524, 1046, 526, 1046, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 526, 1046, 526, 1048, 526, 1046, 526, 1046, 524, 1046, 526, 1046, 526, 1046, 524, 1048, 524, 1048, 526, 1046, 526, 1046, 526, 1046, 524, 1046, 524, 1048, 526, 1046, 526, 1048, 524, 1048, 524, 1046, 526, 1048, 526, 1046, 526, 1046, 524, 1048, 526, 2096, 524, 1048, 524, 2096, 524, 2096, 526, 1046, 524, 1048, 524, 1048, 524, 1046, 524, 1048, 522}; // UNKNOWN 8CE70B3 const uint16_t ktms2[227] = {3054, 1554, 524, 2098, 526, 2096, 524, 1048, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1046, 526, 2096, 526, 2098, 524, 1046, 526, 2098, 522, 1048, 524, 1050, 522, 2098, 524, 2098, 524, 1048, 524, 2098, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1046, 526, 2096, 524, 1048, 526, 1048, 522, 1048, 526, 1048, 524, 1046, 524, 1048, 524, 1046, 526, 1046, 524, 1048, 524, 1046, 524, 1048, 524, 1046, 524, 1048, 526, 1048, 524, 1046, 524, 1048, 524, 1048, 524, 2096, 526, 1046, 526, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 522, 2098, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 526, 1046, 526, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 528, 1044, 524, 1050, 522, 1050, 522, 1048, 526, 2096, 526, 1048, 524, 2098, 522, 2098, 522, 2098, 522, 1050, 524, 1048, 524, 1048, 526, 1046, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 522, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 524, 1050, 524, 1046, 524, 1046, 526, 1048, 524, 1048, 522, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 522, 2096, 526, 1048, 524, 1048, 524, 1048, 524, 2096, 526, 1046, 524, 2098, 524, 1048, 526, 1046, 526, 1048, 524, 1046, 524, 1046, 526, 1048, 500}; // UNKNOWN CB94054D const uint16_t ktms3[227] = {3054, 1554, 526, 2098, 524, 2096, 526, 1048, 526, 1048, 524, 1048, 524, 2098, 524, 1048, 526, 1046, 524, 2098, 524, 2098, 524, 1048, 526, 2096, 526, 1048, 526, 1046, 524, 2098, 524, 2096, 526, 1048, 524, 2098, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 524, 1048, 524, 1046, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1046, 524, 1048, 524, 1048, 524, 1048, 526, 2098, 524, 1048, 526, 1048, 524, 2098, 524, 1048, 526, 1048, 526, 1048, 524, 2096, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 528, 1044, 526, 1048, 526, 1046, 522, 2100, 522, 1050, 524, 1048, 524, 1046, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 2096, 526, 2096, 526, 2098, 524, 1048, 524, 1048, 524, 1046, 526, 1048, 524, 1048, 524, 1046, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 522, 1048, 524, 1050, 522, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1046, 524, 1048, 526, 1046, 526, 1048, 524, 1048, 524, 1046, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 2098, 524, 2096, 524, 2100, 522, 1048, 524, 2100, 522, 2098, 524, 2098, 524, 2098, 524, 2096, 524}; // UNKNOWN 90429956 const uint16_t ktms4[227] = {3052, 1554, 524, 2096, 526, 2098, 524, 1048, 524, 1046, 526, 1046, 524, 2096, 526, 1048, 524, 1048, 524, 2096, 524, 2098, 524, 1046, 526, 2096, 526, 1048, 526, 1046, 526, 2096, 526, 2096, 524, 1048, 524, 2098, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 526, 1046, 526, 1046, 526, 2096, 526, 1048, 526, 1048, 524, 1046, 526, 1048, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 524, 1046, 526, 1048, 524, 2096, 524, 1048, 524, 1048, 524, 2096, 526, 1046, 524, 1048, 524, 2096, 526, 2096, 526, 2096, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 524, 1048, 524, 1048, 524, 2096, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 2098, 524, 1046, 524, 2098, 522, 1050, 524, 1046, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1046, 526, 1048, 524, 1048, 524, 1046, 524, 1048, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1050, 522, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 2098, 524, 2098, 524, 1048, 524, 2098, 524, 2096, 526, 1048, 524, 1048, 524, 2098, 524, 2098, 498}; // UNKNOWN EBAF76A6 const uint16_t ktms5[227] = {3054, 1556, 524, 2098, 524, 2096, 526, 1048, 524, 1046, 524, 1050, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 2096, 524, 1048, 526, 2096, 524, 1048, 524, 1048, 524, 2098, 524, 2096, 524, 1050, 524, 2098, 524, 2096, 524, 1048, 526, 1048, 524, 2098, 524, 1048, 522, 1050, 524, 2096, 526, 1046, 526, 1048, 526, 1046, 526, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1046, 526, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 2096, 524, 1048, 524, 1048, 526, 2096, 526, 1048, 524, 1048, 524, 2096, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 2096, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 2096, 524, 2096, 524, 1048, 524, 1048, 522, 1048, 526, 1046, 524, 1048, 524, 1046, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 524, 1046, 526, 1048, 524, 1046, 526, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 522, 2098, 524, 2096, 524, 1048, 524, 2098, 524, 1046, 526, 1046, 524, 1048, 526, 2096, 524, 2098, 524}; // UNKNOWN 5A5ED784 const uint16_t ktjn[227] = {3054, 1554, 526, 2096, 524, 2098, 526, 1046, 524, 1046, 526, 1046, 526, 2096, 524, 1048, 524, 1046, 526, 2096, 526, 2096, 526, 1048, 524, 2096, 524, 1048, 526, 1046, 526, 2096, 524, 2096, 526, 1046, 526, 2096, 524, 2096, 524, 1048, 524, 1048, 524, 2096, 524, 1048, 524, 1046, 526, 2096, 524, 1046, 526, 1048, 524, 1046, 526, 1046, 526, 1046, 524, 1046, 526, 1046, 526, 1046, 526, 1048, 524, 1046, 526, 1046, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 526, 1046, 526, 2098, 524, 1046, 526, 1048, 524, 2096, 524, 1048, 526, 2096, 526, 2096, 526, 2094, 524, 1048, 526, 1046, 524, 1048, 526, 1046, 526, 1046, 526, 1048, 524, 2096, 524, 1048, 524, 2096, 526, 1046, 526, 1048, 524, 1046, 524, 1048, 526, 1046, 526, 1046, 524, 1046, 526, 1046, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 524, 1046, 524, 1048, 526, 1046, 526, 1046, 526, 1046, 526, 1046, 526, 1046, 524, 1048, 524, 1046, 526, 1046, 526, 1048, 524, 1046, 526, 1048, 524, 1046, 526, 1046, 526, 1046, 526, 1048, 524, 1046, 526, 1048, 524, 1046, 524, 1046, 526, 1048, 522, 1048, 526, 1048, 524, 1048, 524, 1046, 526, 1046, 524, 1046, 526, 1046, 526, 1048, 524, 2096, 526, 2094, 526, 1046, 524, 1046, 526, 1046, 524, 1048, 524, 1048, 526, 2096, 524, 1048, 524}; // UNKNOWN 4797E671 //省略 irsend.sendRaw(displayInt, 227, 38); // Send a raw data capture at 38kHz.
这段代码数组太大了,尽管能运行但是会导致内存不足导致blinker掉线,后来查阅资料发现需要把数组放入flash
const dataType variableName[] PROGMEM = {data0, data1, data3…};
比如这样
于是我改进了代码
const PROGMEM uint16_t ktk[227] = {3054, 1554, 524, 2096, 526, 2094, 526, 1048, 524, 1048, 526, 1046, 526, 2094, 524, 1048, 524, 1046, 524, 2096, 524, 2094, 528, 1046, 524, 2096, 526, 1046, 524, 1048, 526, 2094, 526, 2096, 524, 1048, 526, 2096, 522, 2096, 524, 1048, 526, 1046, 526, 2096, 524, 1046, 526, 1046, 526, 2096, 526, 1048, 524, 1048, 526, 1048, 524, 1046, 526, 1046, 526, 1048, 524, 1046, 524, 1048, 526, 1046, 524, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1046, 526, 2096, 524, 1048, 524, 1048, 526, 2096, 524, 1046, 524, 1048, 524, 2096, 526, 2096, 524, 1048, 524, 1046, 526, 1048, 524, 1046, 526, 1046, 524, 1048, 526, 1046, 524, 1046, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1046, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 526, 1046, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 526, 1046, 526, 1048, 524, 1048, 524, 1046, 526, 1046, 526, 1046, 526, 1046, 526, 1046, 526, 1046, 524, 1048, 524, 1046, 526, 1046, 526, 1046, 526, 1046, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1046, 526, 1046, 526, 1048, 524, 1046, 526, 1048, 524, 1046, 526, 1046, 524, 1048, 524, 2096, 524, 1048, 526, 1046, 526, 1046, 526, 1046, 524, 1046, 526, 1046, 524, 2096, 524, 2096, 524}; // UNKNOWN 2F92AC2C const PROGMEM uint16_t ktg[227] = {3024, 1584, 498, 2122, 494, 2126, 500, 1074, 470, 1100, 498, 1074, 498, 2122, 494, 1078, 502, 1068, 500, 2122, 500, 2122, 496, 1076, 500, 2122, 498, 1074, 494, 1078, 500, 2122, 494, 2124, 498, 1076, 496, 2124, 498, 2122, 502, 1068, 498, 1076, 498, 2122, 500, 1072, 498, 1074, 496, 2126, 496, 1076, 498, 1074, 500, 1072, 498, 1072, 494, 1076, 502, 1070, 502, 1070, 496, 1076, 494, 1076, 492, 1080, 494, 1076, 496, 1078, 496, 1076, 496, 1078, 494, 1076, 498, 1074, 496, 1076, 494, 1078, 494, 1078, 496, 1074, 500, 2122, 498, 1074, 494, 1076, 498, 2124, 498, 2124, 494, 1078, 494, 1076, 496, 1076, 496, 1076, 498, 1074, 498, 1074, 502, 1070, 498, 1074, 498, 2124, 498, 1074, 496, 1076, 494, 1078, 496, 1074, 496, 1078, 468, 1104, 496, 1074, 498, 1074, 498, 1074, 494, 1078, 494, 1078, 496, 1078, 494, 1078, 496, 1074, 500, 1074, 496, 1076, 494, 1076, 494, 1076, 494, 1078, 494, 1076, 496, 1076, 498, 1074, 468, 1102, 468, 1106, 494, 1078, 496, 1076, 496, 1074, 496, 1078, 496, 1076, 492, 1078, 468, 1104, 496, 1076, 492, 1080, 496, 1076, 468, 1104, 496, 1076, 466, 1106, 494, 1076, 494, 1078, 494, 1080, 494, 1076, 492, 1080, 494, 1078, 492, 1078, 468, 2154, 466, 1104, 468, 1106, 494, 2126, 494, 2126, 490, 2130, 490, 2130, 494, 1078, 494, 2126, 494}; const PROGMEM uint16_t ktwd20[227] = {3052, 1554, 524, 2098, 524, 2098, 522, 1048, 524, 1048, 524, 1050, 522, 2098, 524, 1048, 524, 1050, 524, 2096, 524, 2100, 522, 1050, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 2098, 524, 1048, 524, 2096, 526, 2098, 524, 1048, 524, 1048, 524, 2100, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 522, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 522, 1048, 524, 1048, 524, 1050, 522, 1048, 524, 1050, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 522, 1050, 524, 1046, 526, 2098, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 524, 1048, 522, 1050, 524, 2098, 524, 2098, 524, 1050, 524, 2096, 526, 1048, 522, 1048, 524, 1050, 522, 1050, 524, 1046, 526, 2098, 524, 1048, 524, 2098, 524, 2098, 526, 2096, 522, 1048, 524, 1048, 524, 1048, 524, 1048, 522, 1050, 524, 1048, 524, 1050, 522, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 522, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 524, 1048, 526, 2098, 524, 1050, 524, 1048, 522, 1050, 524, 2098, 522, 2100, 524, 1048, 524, 1048, 524, 2100, 522, 1048, 524, 1048, 524, 1048, 524, 1048, 498}; // UNKNOWN F282BFD7 const PROGMEM uint16_t ktwd21[227] = {3054, 1554, 524, 2096, 524, 2098, 524, 1048, 524, 1048, 526, 1048, 524, 2098, 526, 1048, 524, 1048, 524, 2098, 524, 2098, 524, 1048, 524, 2100, 522, 1048, 524, 1048, 524, 2098, 522, 2098, 526, 1048, 526, 2098, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 526, 1046, 526, 1048, 526, 2098, 524, 1048, 524, 1048, 524, 1050, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 526, 1048, 524, 1048, 526, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 526, 2096, 526, 1048, 526, 1048, 524, 2096, 526, 2098, 524, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1048, 526, 2098, 524, 1048, 526, 2098, 524, 1048, 524, 1048, 524, 1050, 522, 1048, 526, 1048, 526, 2096, 524, 1048, 524, 2096, 524, 2098, 524, 2098, 526, 1048, 524, 1048, 526, 1046, 526, 1046, 526, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1050, 522, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1050, 524, 1048, 522, 1050, 524, 1048, 526, 1046, 526, 1046, 526, 2098, 522, 1048, 526, 1048, 524, 1048, 526, 2096, 526, 1046, 526, 1048, 524, 1050, 524, 2098, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524}; // UNKNOWN 99CD803B const PROGMEM uint16_t ktwd22[227] = {3054, 1554, 524, 2098, 526, 2098, 524, 1048, 526, 1046, 524, 1048, 524, 2096, 526, 1048, 524, 1048, 526, 2096, 526, 2096, 526, 1048, 524, 2098, 524, 1048, 524, 1048, 526, 2096, 526, 2098, 524, 1048, 524, 2096, 526, 2096, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2094, 528, 1048, 524, 1048, 524, 2098, 524, 2098, 526, 1046, 524, 1048, 526, 1046, 524, 1048, 526, 1048, 522, 1048, 524, 2098, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 2096, 524, 1050, 522, 2098, 522, 2098, 524, 2098, 524, 1048, 524, 1046, 524, 1048, 524, 1046, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 526, 1046, 524, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 1046, 526, 1052, 522, 1046, 524, 1048, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 526, 1048, 524, 1048, 524, 1048, 524, 1048, 524, 2098, 524, 1048, 526, 1048, 524, 1048, 526, 2096, 524, 2098, 524, 2098, 524, 2098, 524, 1048, 524, 1050, 524, 1048, 524, 1048, 524, 1046, 526}; // UNKNOWN BB4821D1 const PROGMEM uint16_t ktwd23[227] = {3034, 1572, 500, 2122, 500, 2122, 502, 1072, 502, 1070, 502, 1070, 502, 2120, 504, 1070, 500, 1072, 500, 2122, 500, 2122, 500, 1070, 504, 2120, 500, 1070, 504, 1068, 504, 2120, 500, 2120, 502, 1070, 500, 2124, 504, 2118, 500, 1072, 502, 1072, 504, 2118, 500, 1072, 500, 1070, 502, 2122, 500, 1070, 502, 1070, 504, 1068, 502, 1070, 500, 1070, 502, 1070, 504, 1068, 502, 1070, 502, 1070, 500, 1072, 504, 1068, 504, 1070, 500, 1072, 502, 1070, 502, 1072, 502, 1068, 502, 1070, 502, 2120, 502, 1070, 502, 1070, 502, 2120, 504, 1068, 504, 1070, 502, 2118, 502, 2122, 500, 1070, 500, 1072, 502, 1070, 502, 1070, 504, 1068, 502, 1070, 504, 1068, 506, 1068, 502, 1070, 502, 2122, 502, 1068, 502, 1072, 500, 1070, 506, 1066, 504, 1068, 506, 2116, 504, 1068, 500, 2124, 500, 2120, 502, 2120, 504, 1068, 502, 1070, 500, 1074, 500, 1070, 500, 1072, 502, 1070, 502, 1072, 502, 1068, 502, 1072, 506, 1068, 504, 1068, 506, 1066, 504, 1070, 502, 1070, 530, 1044, 502, 1068, 506, 1068, 500, 1072, 502, 1072, 500, 1072, 502, 1070, 504, 1066, 506, 1068, 506, 1066, 504, 1070, 504, 1068, 500, 1072, 504, 1068, 504, 1068, 504, 2120, 502, 1070, 500, 1070, 506, 1068, 500, 2122, 502, 1070, 506, 2116, 500, 2120, 502, 1070, 504, 1070, 500, 1072, 504, 1068, 504, 1070, 502}; // UNKNOWN A4586435 const PROGMEM uint16_t ktwd24[227] = {3030, 1576, 502, 2120, 500, 2122, 476, 1100, 500, 1072, 506, 1066, 502, 2120, 500, 1074, 500, 1072, 502, 2122, 502, 2118, 502, 1072, 500, 2122, 500, 1072, 500, 1072, 502, 2120, 500, 2124, 500, 1072, 500, 2122, 500, 2122, 498, 1072, 500, 1074, 504, 2116, 500, 1072, 500, 1072, 500, 2120, 498, 1076, 502, 1070, 500, 1072, 500, 1072, 504, 1068, 502, 1070, 500, 1072, 500, 1072, 502, 1070, 502, 1072, 502, 1070, 502, 1070, 502, 1070, 500, 1072, 502, 1070, 500, 1072, 504, 1068, 500, 2122, 502, 1070, 502, 1070, 500, 2120, 500, 1072, 502, 1072, 500, 2120, 504, 2120, 500, 1072, 500, 1072, 500, 1074, 498, 1072, 502, 1072, 500, 1072, 500, 2120, 500, 2122, 500, 2124, 498, 1072, 500, 1072, 526, 1048, 500, 1072, 500, 1072, 500, 1072, 500, 2124, 500, 1070, 500, 2122, 500, 2122, 500, 2120, 502, 1072, 500, 1072, 500, 1072, 502, 1070, 502, 1072, 500, 1072, 500, 1072, 500, 1074, 500, 1072, 500, 1072, 500, 1072, 502, 1070, 500, 1072, 502, 1072, 524, 1048, 500, 1072, 502, 1070, 500, 1072, 526, 1046, 500, 1072, 500, 1072, 522, 1048, 500, 1072, 502, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1072, 500, 1074, 500, 2122, 500, 1072, 500, 1072, 500, 1072, 500, 2122, 526, 2096, 500, 1072, 526, 2096, 500, 1072, 500, 1074, 500, 1072, 500, 1072, 500, 1072, 500}; // UNKNOWN 9ED3A1AD const PROGMEM uint16_t ktwd25[227] = {3034, 1574, 502, 2120, 500, 2122, 500, 1072, 500, 1072, 504, 1068, 504, 2118, 500, 1072, 504, 1070, 502, 2118, 504, 2118, 502, 1070, 502, 2120, 526, 1046, 502, 1070, 502, 2120, 500, 2124, 500, 1072, 504, 2116, 502, 2120, 500, 1072, 502, 1070, 504, 2118, 500, 1070, 506, 1068, 502, 2120, 500, 1070, 502, 1070, 502, 1070, 504, 1070, 502, 1070, 502, 1070, 504, 1070, 530, 1044, 504, 1068, 502, 1068, 502, 1070, 500, 1072, 502, 1070, 504, 1068, 500, 1072, 502, 1070, 506, 1066, 502, 2120, 502, 1068, 502, 1070, 504, 2116, 502, 1070, 504, 1068, 504, 2118, 500, 2122, 504, 1070, 502, 1068, 504, 1070, 502, 1070, 500, 1074, 502, 1070, 530, 1042, 500, 2122, 504, 2118, 500, 1070, 502, 1070, 504, 1068, 500, 1072, 530, 1040, 504, 1070, 502, 2120, 502, 1068, 502, 2120, 500, 2120, 504, 2120, 508, 1064, 502, 1070, 502, 1070, 502, 1070, 502, 1070, 502, 1070, 504, 1070, 502, 1068, 504, 1070, 502, 1070, 502, 1070, 502, 1068, 506, 1068, 508, 1062, 504, 1068, 502, 1070, 502, 1070, 502, 1070, 504, 1068, 502, 1070, 502, 1070, 500, 1070, 506, 1066, 504, 1068, 502, 1072, 504, 1068, 502, 1070, 506, 1066, 502, 1070, 502, 2118, 502, 1070, 500, 1072, 506, 1066, 504, 2118, 500, 1072, 500, 1072, 502, 2120, 500, 1070, 502, 1070, 504, 1070, 504, 1070, 502, 1068, 502}; // UNKNOWN 461E6211 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 void sendhy(const uint16_t hwxdm[] ){ for (byte k = 0; k < 227; k++) { displayInt[k] = pgm_read_word_near(hwxdm + k); // Serial.println(displayInt); } irsend.sendRaw(displayInt, 227, 38); // Send a raw data capture at 38kHz. }
我不是程序员所以代码有点尴尬,大概意思就是这样!
扫描二维码推送至手机访问。
本サイト上に掲載の文章、画像、写真などを無断で複製することは法律で禁じられています。全ての著作権はGAMESHに帰属します。