代码搜索结果
找到约 10,000 项符合
LED 的代码
led.c
//串行驱动led显示,
//一个74hc595位移寄存器驱动三极管驱动led位,
//两个74hc595驱动led段,方式位5位x8段x2=10个数码管
//5分频,每次扫描时间位1.25ms
//定义特殊符号
#define nul 0xf
#define qc 0xc
#define qb 0xb
#define q_ 0xa
#define q__ 0xd
led.cmd
-w
-stack 400h
-heap 100
-l rts.lib
MEMORY
{
PAGE 0:
VECT : o=80h,l=80h
PRAM : o=100h,l=1f00h
PAGE 1:
DRAM : o=2000h,l=1000h
}
SECTIONS
{
.text : {}> PRAM
led.c
#define SPSA0 *(unsigned int *)0x38
#define SPSD0 *(unsigned int *)0x39
#define TIM *(int *)0x24
#define PRD *(int *)0x25
#define TCR *(int *)0x26
#define IMR *(int *)0x0
#define IFR *(i
led.h
/*
* led.h: header file for memory.c
*
* Copyright (C) 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms o
led.c
/*-------------------------------------------------------------------------
* Filename: led.c
* Version: $Id: led.c,v 1.2 2001/08/06 22:44:52 erikm Exp $
* Copyright: Copyright (C) 1
led.lnp
"led.obj"
TO "led"
RAMSIZE(256)
led.plg
礦ision3 Build Log
Project:
E:\空调触摸屏实现0\led.uv2
Project File Date: 05/24/2008
Output:
Build target 'Target 1'
compiling led.c...
LED.C(1001):
led.hex
:100003000001020310111221314151203040506090
:100013006170717280819190A0A1A2A3B0B1C0C19F
:10002300C8C9CAD0E0F0F1C9E210802B00911D7F4E
:1000330000001D7F0000000000007FAA00000F11D8
:100043000000001D7F0
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 {