代码搜索结果
找到约 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.c
//LED_task
//LED.c data for pooa8
#include "includes.h"
#include "ML674000.H"
#define bit8 (0x01
led.asm
NAME LED
LED SEGMENT CODE
RSEG LED
PUBLIC _Refresh
_Refresh:
MOV P2,#08H
MOV P0,#0FFH
MOV P2,#80H
MOV P0,#0FFH
MOV P2,#04H
MOV P0,#0FFH
MOV P2,#40H
MOV P0,#0FFH
MOV P2,#0
led._ia
"led.asm" SET (SMALL) DEBUG EP
led.h
#include
#include
led.lst
A51 MACRO ASSEMBLER LED 10/23/2007 14:37:44 PAGE 1
MACRO ASSEMBLER A51 V7.10
OBJECT MODULE PLACED IN led.OBJ
ASSEMBLER INVO
led.h
#ifndef LED_H
#define LED_H
#define LED_MAJOR 245
/*******************
LED and Digit LED share the same CS, CS4.
arrange CS4 address is
To select LED,the address line A8/A9/A10/A11 must be 001
led.c
/** ************************************************************************* **
** includes
** ************************************************************************* **/
#include