代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
led.c
#include
#include "led.h"
void Init_Port(void)
{
//将P1口所有的管脚在初始化的时候设置为输入方式
P1DIR = 0;
//将P1口所有的管脚设置为一般I/O口
P1SEL = 0;
// 将P1.0 P1.1 P1.2 设置为输出方向
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.
*/
#
main_led
// Copyright (c) 2001-2004 Rowley Associates Limited.
//
// This file may be distributed under the terms of the License Agreement
// provided with this software.
//
// THIS FILE IS PROVIDED AS IS
led.lnp
"main.obj",
"STARTUP.obj",
"12864.obj"
TO "led"
RAMSIZE(256)
led.plg
礦ision2 Build Log
Project:
E:\yuanxin\new_programme\led.uv2
Project File Date: 08/06/2007
Output:
Build target 'Target 1'
compiling main.c...
led.hex
:100790007C007DC81206A0AD07AC06D3ED9400EC3A
:1007A0009400401BAB07AA06D3EB9400EA940040E8
:0F07B00007EB1B70F31A80F0ED1D70DF1C80DC6F
:0107BF002217
:0B09C600EF1FAC0670011E4C70F62203
:0809E5007F05AE07
led.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
led.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 串行口传输通用显示程序
;; 版本: V1.0
;; 作者: 朱勇士
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
SIM equ 0 ;条件汇编(0=实际,1=模拟)
led.lnp
"led.obj"
TO "led"