代码搜索结果
找到约 10,000 项符合
LED 的代码
led_if.c
/*
* @file led_if.c
* @brief LED On/Off Control
* @author 2005/06/09 Masatoshi Kawashima
* Copyright (C)SEIKO EPSON Corp. All Rights Reserved.
*/
/*=== Include ======================
led_if.h
/*
* @file led_if.h
* @brief LED On/Off Control
* @author 2005/06/09 Masatoshi Kawashima
* Copyright (C)SEIKO EPSON Corp. All Rights Reserved.
*/
/* avoid multiple include */
#ifndef
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)
//
led.h
/*H**************************************************************************
* NAME: led.h
*----------------------------------------------------------------------------
* Copyrigh
demo.led
!! The Demo script
Do
ScrollDown delay=30 center=true text=\rLED \oS\yi\gg\bn \rV2.7!
Sleep delay=2000
Do
ScrollLeft delay=30 startspace=20 endspace=20 text=Welcome to th
example.led
!! An simple example script
Do
!! This is a comment
ScrollUp center=true text=Hello
Sleep delay=1000
ScrollLeft delay=30 center=true text=This is a test.
Sleep delay=1500
led.c
// Copyright (c) David Vescovi. All rights reserved.
// Part of Project DrumStix
// Windows Embedded Developers Interest Group (WE-DIG) community project.
// http://www.we-dig.org
// Copyright (c
led.asm
ORG 00H
START: MOV DPTR,#TABLE ;指针指向表头地址
S1: MOV A,#00H ;设置地址偏移量
MOVC A,@A+DPTR ;查表取得段码,送A存储
CJNE A,#01H,S2 ;判断段码是否为结束符
LJMP START
S2: MOV P0,A ;段码送LED显示
led.vhd
--** 数码管演示实验
--文件名:led.vhd
--功 能:分别点亮数码管和发光二极管
--说 明:分为两种显示模式:
-- 1.只点亮数码管;
-- 2.只点亮发光二极管;
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE