代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
led.h
#define MAX_LED 4
#define LED_COM_A 1
#define LED_COM_K 0
#define LED_STYLE LED_COM_K //程序配置:选择共阴或共阳LED
#define LED_NULL 0XFF
#define LED_SEG P2
#define LED_IDX P0
void InitLED(v
led.c
#include
#include "type.h"
#include "led.h"
UCHAR vBuffer[MAX_LED];
UCHAR code LED_Table[]={
//0 1 2 3 4 5 6 7 8 9
0X3F,0X6,0X5B,0X4F,0X66,0X6D,0X7D,0X7,0
led.lst
C51 COMPILER V7.00 LED 05/16/2007 10:42:12 PAGE 1
C51 COMPILER V7.00, COMPILATION OF MODULE LED
OBJECT MODULE PLACED IN led
led.h
#ifndef __led_H__
#define __led_H__
void Test_Led(void);
#endif /*__led_H__*/
led.c
#include
#include "..\inc\def.h"
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\led.h"
void Test_Led(void)
{
rSYSCFG=SYSCFG_8KB;
#if (PLLON==1)
Cha
led.c
/*********************************************************************************************
* File: light.c
* Author: embest
* Desc: control board's two LEDs on or offf
* History:
**********
led.asm
;386以上微机适用
;纯dos下才能使用
;tasm4.1或以上编译
;*********************;
;* LED *;
;*********************;
io_plx_device_id equ 05406h ;TPC卡设备ID
io_plx_vendor_id equ 010b5h ;TPC卡厂商ID
IO_PL
led.c
#include "typDef.h"
#include "s3c4510b.h"
/******************************************************
函数名称: delayMs()
函数功能: ms级延时.
入口参数: counter 需要延时多少个ms.
返 回 值: 无.
备