- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 50kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- s_liwei
Description: Remote control via the computer serial decode show/* Crystal: 11.0569MHz* /# Include <REGX52.h># Define uchar unsigned charuchar data IRcode [4]// define a 4-byte array used to store code uchar CodeTemp// encoding variable byte cache uchar i, j, k// delay cycle with variable sbit IRsignal = P3 ^ 2// HS0038 receive the first direct link OUT terminal P3.2 (INT0 )/************************** 0.9ms delay**********************/ void Subroutine Delay0_9ms (void) (uchar j, k for (j = 18 j> 0 j-) for (k = 20 k> 0 k-) }/*************************** Subroutine 1ms delay**********************/ void Delay1ms (void) (uchar i, j for (i = 2 i> 0 i-) for (j = 230 j> 0 j-))
File list (Check if you may need any files):
遥控解码通过电脑串口显示
........................\IRCOM
........................\ircom.c
........................\IRCOM.hex
........................\IRCOM.lnp
........................\ircom.LST
........................\IRCOM.M51
........................\ircom.OBJ
........................\IRCOM.Opt
........................\IRCOM.plg
........................\IRCOM.Uv2
........................\IRCOM_Uv2.Bak
........................\实验说明 .txt