代码搜索:LED
找到约 10,000 项符合「LED」的源代码
代码结果 10,000
www.eeworm.com/read/329796/12932650
bsf led.bsf
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to
www.eeworm.com/read/329796/12932675
vhd led.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity led is
port(clk:in std_logic; --时钟信号
rst:in std_logic; --系统复位信号
q:out std_logic_vector(7 downto 0))
www.eeworm.com/read/142584/12936445
c led.c
#include
#include
#include "Led.h"
//+++++++++++++++++++++++++++++++++++++++++++++++++
///////////////////////////0~9
flash unsigned char LED_CODE[23]={0x3f, 0x06, 0x5b,
www.eeworm.com/read/329711/12937479
c 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
www.eeworm.com/read/329666/12940104
h led.h
#define K1 0xFF7
#define K2 0xFEF
#define K3 0xFDF
#define K4 0xFBF
#define K5 0xF7F
#define K6 0xEFF
#define K7 0xDFF
#define K8 0xBFF
void SetData(Uint16 num);
void ClrDat
www.eeworm.com/read/329666/12940252
c led.c
#include "DSP280x_Device.h" // DSP280x Headerfile Include File
#include "DSP280x_Examples.h" // DSP280x Examples Include File
const Uint16 UserTab[]={
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF
www.eeworm.com/read/329666/12940415
h led.h
void SetData(Uint16 num);
void ClrData(Uint16 num);
void SetClk(Uint16 num);
void ClrClk(Uint16 num);
void SetCs(Uint16 num);
void ClrCs(Uint16 num);
void SendData(Uint16 num,Uint16 data);
//==
www.eeworm.com/read/329666/12940524
c led.c
#include "DSP280x_Device.h" // DSP280x Headerfile Include File
#include "DSP280x_Examples.h" // DSP280x Examples Include File
void SetData(Uint16 num)
{
if (num)
GpioDataRegs.GPADAT.bi
www.eeworm.com/read/329666/12940608
h led.h
void SetData(Uint16 num);
void ClrData(Uint16 num);
void SetClk(Uint16 num);
void ClrClk(Uint16 num);
void SetCs(Uint16 num);
void ClrCs(Uint16 num);
void SendData(Uint16 num,Uint16 data);
//==
www.eeworm.com/read/329666/12940689
c led.c
#include "DSP280x_Device.h" // DSP280x Headerfile Include File
#include "DSP280x_Examples.h" // DSP280x Examples Include File
void SetData(Uint16 num)
{
if (num)
GpioDataRegs.GPADAT.bi