代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
led.c
/*
* led.c
*/
#include "s3c2410.h"
#define LED_ON 0x00
#define LED_OFF 0xff
#define LED1_ON 0xd0
#define LED2_ON 0x70
#define LED3_ON 0xe0
#define LED4_ON 0xb0
#define DELAYTIME 0x5000
void dela
led.h
#ifndef LED_H_
#define LED_H_
void led_on(char n);
void led_circle(void);
#endif /* LED_H_ */
led.c
/*
* led.c
*/
#include "s3c2410.h"
#define LED_ON 0x00
#define LED_OFF 0xff
#define LED1_ON 0xd0
#define LED2_ON 0x70
#define LED3_ON 0xe0
#define LED4_ON 0xb0
#define DELAYTIME 0x10000
void del
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.lnp
"8LED.obj"
TO "LED"
RAMSIZE(256)
8led.a
; 实验一 八段数码管显示
OUTBIT equ 0e101h ; 位控制口
CLK164 equ 0e102h ; 段控制口(接164时钟位)
DAT164 equ 0e102h ; 段控制口(接164数据位)
IN equ 0e103h ; 键盘读入口
LEDBuf equ 60h ; 显示缓冲
Num equ 70
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.plg
礦ision3 Build Log
Project:
C:\Keil\UV2\3000TB51配套实验例程\1实验一 八段数码管显示实验\ASM\LED.uv2
项目文件日期: 01/02/1998
Output:
led.hex
:100000000200573F065B4F666D7D077F6F777C3937
:100010005E79717F00DFFEDEFC22786079067A204F
:1000200090E1017400F0E675F00833FB92E054FDB6
:1000300090E102F090E1024402F054FDF0EBD5F0C3
:10004000E990E101EAF