代码搜索结果
找到约 10,000 项符合
LED 的代码
led.qws
[ProjectWorkspace]
ptn_Child1=Frames
[ProjectWorkspace.Frames]
ptn_Child1=ChildFrames
[ProjectWorkspace.Frames.ChildFrames]
ptn_Child1=Document-0
ptn_Child2=Document-1
ptn_Child3=Document-2
pt
led.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity led is
port(q:out std_logic_vector(0 to 7);
clk:in std_logic;
rest:in std_logi
led.h
/*
* led.h -- demo of LED application
*
* Author: li ming
* Date: 2003-11-1
* Copyright: AKA Embedded Open Lab
*/
/*****************************
led.c
#include
/*
* Demo program
*
* Flashes LEDs on Port B, responds to switch press
* on RA1. Usable on PICDEM board.
*
* Copyright (C)1997 HI-TECH Software.
* Freely distributable.
*/
#
led.c
#include
#include
#define PORTBIT(adr, bit) ((unsigned)(&adr)*8+(bit))
volatile bit button @ PORTBIT(PORTB, 1);
const char Msg[] = {"This is a string\0"};
int sub1(int i,