代码搜索:LED取模
找到约 10,000 项符合「LED取模」的源代码
代码结果 10,000
www.eeworm.com/read/267215/11190316
c led.c
/*********************************************************************************************
* File: light.c
* Author: embest
* Desc: control board's two LEDs on or offf
* History:
**********
www.eeworm.com/read/266625/11216718
h led.h
//LED GPIO
#define GPBCON (*(volatile unsigned long *)0x56000010)
#define GPBDAT (*(volatile unsigned long *)0x56000014)
#define GPBUP (*(volatile unsigned long *)0x56000018)
void InitLed();
void LedP
www.eeworm.com/read/266625/11216731
c led.c
#include "./include/led.h"
void InitLed()
{
GPBCON = (GPBCON & ~0x3fc000) | 0x154000;
GPBUP &= ~0x780;
}
void LedPlay(int iLedVal)
{
GPBDAT=(GPBDAT | 0x780) &( ~(( iLedVal & 0x78)
www.eeworm.com/read/412049/11216793
v led.v
`timescale 1ns/1ps
module sm_led
(
Clk,Rst,
SM_CS1,SM_CS2, SM_db,
data1,data2
);
input Clk;
input Rst;
output SM_CS1;
output SM_CS2;
output[6:0] SM_db; //7段数码管(不包括小数点)
// M
www.eeworm.com/read/266377/11229639
c led.c
www.eeworm.com/read/266329/11231957
h led.h
///////////////////////////////////////////////////////////////////////////////
// Led.h : header file
// Visual Source Safe: $Revision: 1 $
//
// Led static control. Will display a LED in 4 diffe
www.eeworm.com/read/266329/11231958
cpp led.cpp
///////////////////////////////////////////////////////////////////////////////
// Led.cpp : implementation file
// Visual Source Safe: $Revision: 1 $
//
// Led static control. Will display a LED
www.eeworm.com/read/266068/11244554
asm led.asm
//input - value to write to LED's is passed in via R4
//output - none - writes lower 8 bits of R4 out to LED latch
#include
#include
.section/pm seg_pmco;
.exte
www.eeworm.com/read/411313/11248788
c led.c
/*******************************************
文件:LED.C
环境:编译为ICC AVR6.25A,仿真为AVR Studio4.10
硬件:ATMEGA16芯片
日期:2006年12月10日
功能:驱动开发板上的LED。1. 流水灯 2.闪烁指定的LED
备注:参考《AVR系列单片机C语言编程与应用实例》(清华
www.eeworm.com/read/411313/11248791
lis led.lis
.module LED.C
.area text(rom, con, rel)
0000 .dbfile C:/icc/include/AVR_PQ1A.h
0000 .dbfunc e Delayus _Delayus