代码搜索:LED
找到约 10,000 项符合「LED」的源代码
代码结果 10,000
www.eeworm.com/read/296273/8113261
mcp led.mcp
www.eeworm.com/read/195720/8134040
h led.h
//led.h
void Delay (unsigned long a);
// init led port
void LedInit(void);
// single blink
void LedBlink(void);
// turn on led
void LedOn(void);
// turn off led
void LedOff(void);
www.eeworm.com/read/195720/8134048
c led.c
#include
#include "led.h"
void Delay (unsigned long a) { // 简单延时
while (--a!=0);
}
void LedInit(void) { // 初始化led端口
IO0DIR_bit.P0_31 = 1; // port0.31设为输出,LED
}
www.eeworm.com/read/195719/8134121
h led.h
//led.h
// init led port
void LedsInit(void);
// single blink led 1
void Led1Blink(void);
void Led1BlinkSlow(void);
// turn on led 1
void Led1On(void);
// turn off led 1
void Led1Off(void
www.eeworm.com/read/195719/8134137
c 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设为输出
www.eeworm.com/read/295777/8141588
c led.c
#include
#include
void main(void)
{
unsigned char c;
int i;
c = 0x01;
while(1)
{
P1 = ~c;
for(i=0;i
www.eeworm.com/read/295737/8142843
opt 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 }
www.eeworm.com/read/295737/8142847
c led.c
/*********************************************************************************************************
** Small RTOS(51)
** Th
www.eeworm.com/read/295726/8143320
asm 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 ;
www.eeworm.com/read/295726/8143322