代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
led.c
//led.c
#include
#include "led.h"
void Delay (unsigned long a) { // 简单延时
while (--a!=0);
}
void LedsInit(void) { // 初始化led端口
IO0DIR_bit.P0_31 = 1; // port0.12设为输出
led.c
#include
#include
void main(void)
{
unsigned char c;
int i;
c = 0x01;
while(1)
{
P1 = ~c;
for(i=0;i
led.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.a*; *.src)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt)
pExt (*.plm)
CppX (*.cpp)
DaveTm { 0,0,0,0,0,0,0,0 }
led.c
/*********************************************************************************************************
** Small RTOS(51)
** Th
led.asm
ORG 0000H ;
LJMP MAIN ;
ORG 030H ;
MAIN: MOV P0,#0DBH ;11011011--零为亮
ACALL DELay ;
MOV P0,#06DH ;01101101
ACALL DELay ;
MOV P0,#0B6H ;10110110
ACALL DELay ;
AJMP MAIN ;
delay: mov r7,#255 ;
led.lnp
"led.obj"
TO "led"
led.plg
礦ision2 Build Log
Project:
D:\Documents and Settings\liujunhua\桌面\HK-MCS5X-V1.0\HK-MCS5X-V1.0\实验例程\流水灯\led.uv2
Project File Date: 01/10/2008
Output:
led.hex
:03000000020030CB
:100030007580DB114175806D11417580B6114101EC
:0A004000307FFF7EFFDEFEDFFA22B4
:00000001FF
led.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {