LYJ_IR_M

所属分类:单片机开发
开发工具:C/C++
文件大小:676KB
下载次数:220
上传日期:2006-04-18 09:11:35
上 传 者yj_wpm
说明:  /*红外解码的方法 NEC格式 upd6121 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、红外接收器输出是反相的
(/* IR decoding methods NEC format upd61211, 9Ms start of the high head, and then the low 4.5ms, if 2.25Ms when there is high, is a continuous signal, does not handle 2, and then to a high- level and a low level for 1Bit, high time is 0.5625Ms = 562us, high-low ratio of 1:1 when the time is Bit1, ratio of 1:3 is Bit03, Timer1 interrupt the implementation of 100us sampling period, 9Ms = 90,4.5 Ms = 45, high = 5, low-level maximum of 154, were read into 4Byte were 24bit, No. 1,2 Byte is CustomCode code and its anti-code, the first 3,4 Byte is DataCode and its anti-code 5, CustomCode correct and well-tested DataCode correct, the implementation of 6, infrared receiver output is RP s)

文件列表:
LYJ\config.h (474, 2006-03-04)
LYJ\config._h (474, 2006-03-04)
LYJ\LYJ-v1.0.c (8153, 2006-03-04)
LYJ\lyj.bcf (3067, 2006-03-04)
LYJ\LYJ.c (8232, 2006-03-26)
LYJ\LYJ.cof (11091, 2006-03-26)
LYJ\LYJ.dbg (7026, 2006-03-26)
LYJ\LYJ.dp2 (169, 2006-03-26)
LYJ\LYJ.hex (4426, 2006-03-26)
LYJ\LYJ.lis (64508, 2006-03-26)
LYJ\LYJ.lk (8, 2006-03-26)
LYJ\LYJ.lst (36167, 2006-03-26)
LYJ\LYJ.mak (575, 2006-03-26)
LYJ\LYJ.mp (2926, 2006-03-26)
LYJ\LYJ.o (16652, 2006-03-26)
LYJ\LYJ.prj (895, 2006-03-26)
LYJ\LYJ.s (26711, 2006-03-26)
LYJ\LYJ.SRC (50, 2006-03-28)
LYJ\LYJ._c (8214, 2006-03-26)
LYJ\LYJ_cof.aps (2360, 2006-03-04)
LYJ\upd6121.pdf (174589, 2006-02-07)
LYJ\S0101\S0101.doc (856064, 2001-08-20)
LYJ\S0101 (0, 2006-03-28)
LYJ\LYJ_ddb\LYJ.Bkp (690176, 2006-03-27)
LYJ\LYJ_ddb\LYJ.ddb (690176, 2006-04-15)
LYJ\LYJ_ddb (0, 2006-03-28)
LYJ (0, 2006-03-28)

近期下载者

相关文件


收藏者