文件名称:AVRmega16TC9012
介绍说明--下载内容均来自于网络,请自行研究使用
红外解码的方法 NEC格式 tc9012 1、9Ms的高电平启动头,然后是4.5Ms的低电平,如果2.25Ms时就有高电平,是持续信号,不处理 2、然后以一个高电平和一个低电平为1Bit,高电平时间是0.5625Ms=562us, 高低电平时间比为1:1时是Bit1,比为1:3时是Bit0 3、Timer1中断执行100us采样周期,9Ms=90,4.5Ms=45,高电平=5,低电平最多15 4、共读入4Byte共24bit,第1、2Byte是CustomCode码和其反码,第3、4Byte是DataCode和其反码 5、CustomCode正确和DataCode效验正确的话,执行 6、红外接收器输出是反相的
-NEC Infrared format decoding method of the high tc9012 1,9 Ms head start, followed by the low 4.5Ms, if there is high when 2.25Ms, is a continuous signal, do not deal with 2, and then to a high-power low for a peaceful 1Bit, high time 0.5625Ms = 562us, high-low ratio of 1:1 when the time is Bit1, when the ratio of 1:3 is Bit0 3, Timer1 interrupt the implementation of 100us sampling period, 9Ms = 90,4.5 Ms = 45, high = 5, low-level up to 15 4, were read into 4Byte were 24bit, the first is the 1,2 Byte code and its anti-CustomCode code, the first is the 3,4 Byte Code DataCode and its anti-5 , CustomCode correct and well-tested DataCode correct, the implementation of 6, the infrared receiver is the output of the RP
-NEC Infrared format decoding method of the high tc9012 1,9 Ms head start, followed by the low 4.5Ms, if there is high when 2.25Ms, is a continuous signal, do not deal with 2, and then to a high-power low for a peaceful 1Bit, high time 0.5625Ms = 562us, high-low ratio of 1:1 when the time is Bit1, when the ratio of 1:3 is Bit0 3, Timer1 interrupt the implementation of 100us sampling period, 9Ms = 90,4.5 Ms = 45, high = 5, low-level up to 15 4, were read into 4Byte were 24bit, the first is the 1,2 Byte code and its anti-CustomCode code, the first is the 3,4 Byte Code DataCode and its anti-5 , CustomCode correct and well-tested DataCode correct, the implementation of 6, the infrared receiver is the output of the RP
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.c
1.cof
1.dbg
1.hex
1.lis
1.lk
1.lst
1.mak
1.mp
1.o
1.prj
1.SRC
1._c
1.cof
1.dbg
1.hex
1.lis
1.lk
1.lst
1.mak
1.mp
1.o
1.prj
1.SRC
1._c