关于"#define RAWBUF 100..."这个语句的问题,求帮助-Arduino中文社区 - Powered by Discuz! Archiver

wji1203 发表于 2016-5-5 21:08

关于"#define RAWBUF 100..."这个语句的问题,求帮助

各位大神,请问为什么我在IRremote.h头文件里找不到语句
#define RAWBUF 100...

奈何col 发表于 2016-5-5 21:21

库已经更新了,和书上的有所不同了。现在 RAWBUF定义在IRremoteInt.h 中,但我也不确定直接修改会不会有问题,等空了试试

wji1203 发表于 2016-5-5 21:31

奈何col 发表于 2016-5-5 21:21
库已经更新了,和书上的有所不同了。现在 RAWBUF定义在IRremoteInt.h 中,但我也不确定直接修改会不会有问 ...

原来如此,我说无论怎么查找都找不到那个语句。。我已经用你在另一个帖子里(http://www.arduino.cn/thread-5775-1-1.html“高帅富”空调的红外解码和遥控方法)提到的方法得到了原始编码,就是不知道正确与否,等明天东西到了试试看。谢谢奈何大神,不然还要在这个问题上纠结好久~
Raw:(199) 4544,4352,656,1548,640,416,680,1552,636,1576,616,408,684,404,692,1548,640,408,688,404,692,1556,632,412,684,408,688,1572,616,1548,640,404,692,1544,644,420,676,1572,616,1564,628,1560,628,1548,640,404,692,1576,612,1560,632,1572,616,412,684,400,692,420,676,412,684,1556,632,404,692,416,680,1560,628,1564,624,1572,616,404,692,408,688,416,676,416,680,404,692,416,680,420,676,412,680,1572,620,1572,616,1572,616,1568,620,1560,632,5220,4532,4368,632,1564,628,412,680,1576,612,1576,616,420,672,420,676,1576,612,420,676,416,680,1580,608,420,676,424,668,1524,668,1512,676,428,668,1520,668,428,668,1520,668,1524,664,1524,668,1520,668,428,668,1520,668,1524,668,1520,668,428,668,428,664,428,668,428,668,1520,668,428,668,428,664,1524,664,1524,668,1520,668,432,664,428,668,428,664,432,664,428,668,428,664,432,664,428,664,1540,652,1524,664,1528,660,1528,664,1536,652,


Raw:(199) 4604,4316,688,1508,684,420,672,1500,692,1496,692,408,688,404,692,1500,688,428,664,408,688,1500,688,420,676,420,676,1512,676,1488,704,428,668,1500,688,404,692,408,684,1516,676,1504,684,1516,672,1500,692,1504,684,1504,684,1500,692,1504,684,416,680,400,692,408,688,408,688,404,692,416,676,1516,672,1508,684,408,688,404,688,408,688,416,680,408,688,404,688,420,676,416,680,1508,680,1504,684,1512,676,1500,692,1520,668,1504,688,5148,4624,4288,692,1500,688,412,684,1512,680,1496,688,416,680,420,676,1524,668,408,684,412,680,1512,680,428,668,420,676,1512,676,1512,676,416,680,1520,668,420,676,416,680,1520,668,1524,664,1524,668,1520,668,1520,672,1508,680,1520,668,1524,664,428,668,420,676,420,668,424,672,428,668,424,672,1516,672,1520,672,428,664,432,664,424,672,428,664,428,668,432,664,428,668,428,664,1524,664,1524,668,1524,664,1524,664,1524,668,1520,668,

客临天下 发表于 2016-6-7 10:46

这个是在初始化的头文件里面修改的。
IRremoteInt.h
我测试过可以的。
页: [1]
查看完整版本: 关于"#define RAWBUF 100..."这个语句的问题,求帮助