代码搜索:LED显示
找到约 10,000 项符合「LED显示」的源代码
代码结果 10,000
www.eeworm.com/read/283334/4083433
vcw led.vcw
Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
##########################################################################
www.eeworm.com/read/282522/4095289
h led.h
/*-----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support - ROUSSET -
*-------------------------------------------------
www.eeworm.com/read/282522/4095292
c led.c
/*-----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support - ROUSSET -
*-------------------------------------------------
www.eeworm.com/read/282522/4096795
h led.h
#ifndef _LED_INCLUDED
#define _LED_INCLUDED
#ifndef MEMORY_ATTRIBUTE
#define MEMORY_ATTRIBUTE
#endif
//Function prototypes
MEMORY_ATTRIBUTE void Exec_BlinkLed(void);
MEMORY_ATTRIBUTE void
www.eeworm.com/read/282522/4096839
c led.c
// -------------------------------------------------------------------
// -----------------------LPC2106 LED routines------------------------
// -----------------------------------------------------
www.eeworm.com/read/282522/4098011
h led.h
/*************************************************************************
*
* Used with ICCARM and AARM.
*
* (c) Copyright IAR Systems 2006
*
* File name : led.h
* Descrip
www.eeworm.com/read/282522/4098013
c led.c
/*************************************************************************
*
* Used with ICCARM and AARM.
*
* (c) Copyright IAR Systems 2006
*
* File name : led.c
* Descrip
www.eeworm.com/read/282459/4101525
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/282459/4101531
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/282459/4101542
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