Hello, everyone.
I have a problem when receiving raw infrared data, i received different data.
For example :
the ON button :
#define RAW_DATA_LEN 100
uint16_t rawData[RAW_DATA_LEN]={
302, 582, 306, 578, 306, 1414, 302, 582, 302, 606, 278, 582, 306, 578, 306, 602,
282, 1426, 290, 1434, 282, 602, 282, 1434, 282, 1438, 282, 602, 282, 602, 282, 602,
282, 602, 282, 602, 282, 1438, 282, 1434, 282, 1434, 282, 1434, 282, 602, 282, 1438,
278, 1438, 282, 1434, 282, 602, 282, 602, 282, 1434, 282, 602, 282, 602, 282, 602,
282, 606, 278, 606, 278, 606, 278, 606, 282, 602, 282, 602, 282, 606, 278, 606,
278, 606, 278, 606, 278, 606, 278, 606, 278, 606, 282, 606, 278, 606, 278, 606,
278, 606, 258, 1000};
the OFF button :
#define RAW_DATA_LEN 100
uint16_t rawData[RAW_DATA_LEN]={
3390, 1778, 342, 1378, 342, 1374, 366, 518, 342, 538, 370, 518, 346, 1374, 338, 546,
366, 494, 366, 1374, 342, 1374, 342, 542, 342, 1374, 342, 542, 342, 542, 342, 1378,
338, 1374, 342, 542, 342, 1374, 358, 1358, 342, 542, 342, 546, 342, 1370, 342, 546,
338, 546, 338, 1378, 338, 546, 338, 546, 342, 542, 342, 546, 334, 546, 342, 542,
342, 542, 342, 546, 338, 542, 342, 546, 338, 542, 366, 522, 342, 542, 366, 518,
342, 542, 366, 518, 338, 546, 338, 546, 338, 546, 338, 546, 342, 542, 342, 546,
338, 546, 338, 1000};
the ON button :
#define RAW_DATA_LEN 100
uint16_t rawData[RAW_DATA_LEN]={
3390, 1782, 338, 1374, 346, 1374, 338, 542, 342, 542, 346, 538, 342, 1374, 346, 542,
366, 506, 382, 1346, 370, 1346, 366, 518, 342, 1374, 366, 506, 354, 542, 342, 1374,
370, 1350, 338, 546, 338, 1374, 342, 1374, 338, 546, 342, 542, 342, 1378, 338, 542,
342, 542, 342, 1378, 338, 542, 342, 546, 338, 546, 342, 542, 366, 518, 342, 542,
338, 546, 366, 518, 338, 546, 338, 546, 342, 542, 342, 542, 338, 550, 338, 546,
338, 546, 338, 546, 338, 546, 338, 546, 342, 542, 338, 546, 338, 1378, 338, 546,
338, 546, 338, 1000};
the OFF button :
#define RAW_DATA_LEN 100
uint16_t rawData[RAW_DATA_LEN]={
3390, 1782, 342, 1374, 342, 1374, 342, 542, 366, 518, 342, 542, 346, 1374, 342, 542,
342, 542, 366, 1350, 342, 1374, 346, 538, 366, 1350, 370, 502, 354, 546, 362, 1354,
338, 1378, 342, 542, 366, 1350, 342, 1374, 342, 542, 342, 542, 342, 1378, 338, 546,
338, 546, 338, 1378, 342, 542, 338, 546, 342, 546, 338, 542, 342, 546, 342, 542,
362, 522, 362, 522, 362, 522, 342, 542, 338, 546, 338, 546, 342, 542, 342, 546,
358, 526, 338, 546, 338, 546, 338, 546, 338, 546, 338, 546, 338, 546, 338, 550,
338, 546, 338, 1000};
What is the reason? How can I solve this problem?
Could anyone help me, please?
Thank you very much.