红外解码 解出神迹 求大神帮忙
本帖最后由 zqdl8 于 2013-1-15 23:05 编辑这个是小弟用红外解码库IRremote,解出来的结果,同一个按键,按两次居然出来的结果完全不一样,求解答。感谢
另外问一下RAw是高低电平发送的时间吗?直接按照这个来发送行不行呢?
Port open
第一次
Could not decode message
Raw (8): -16550 950 -1000 50 -1000 1200 -1800 400
0
Could not decode message
Raw (6): -16450 1100 -950 150 -1350 800
0
Could not decode message
Raw (6): -15500 950 -1000 100 -1000 1200
第二次
Could not decode message
Raw (8): -9100 350 -950 1400 -800 150 -1400 800
0
Could not decode message
Raw (6): -15400 1200 -750 200 -1050 1200
0
Could not decode message
Raw (6): -16200 1350 -800 1350 -1700 400
用IRremote库自带的IRrecvDEMO直接解码成16进制不是更直观和更方便使用吗?建议你换这个程序再看一下。
页:
[1]