代码搜索结果
找到约 10,000 项符合
LED 的代码
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 {
led.c
#include
sbit sck0=P2^0;
sbit ds0=P2^1;
sbit res0=P2^2;
sbit cs4=P1^0;
sbit cs5=P1^1;
unsigned char code tab[96]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //空格
led.lst
C51 COMPILER V8.05a LED 09/23/2008 18:17:04 PAGE 1
C51 COMPILER V8.05a, COMPILATION OF MODULE LED
OBJECT MODULE PLACED IN le
led.c
/*****************************************
NAME: led.c
DESC: Led test
WWW.YCTEK.COM
*****************************************/
#include "def.h"
#include "option.h"
#include "2410addr.h"
led.c
#include
#include
/* This seems to produce the right amount of delay for the LED to be
* seen
*/
void Delay()
{
unsigned char a, b;
for (a = 1; a; a++)
for (b
led.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="c:\icetek-vc5509-edulab\lab0301-led\"
ProjectType=Executable
CPUFamily=TMS320C55XX
T
led.c
#include "myapp.h"
// 定义指示灯寄存器地址和寄存器类型
#define LBDS (*((unsigned int *)0x400001))
// 子程序接口
void Delay(unsigned int nDelay); // 延时子程序
main()
{
unsigned int uLED[4]={1,2,4,8}; // 控制字,逐位置1: