代码搜索:LED控制
找到约 10,000 项符合「LED控制」的源代码
代码结果 10,000
www.eeworm.com/read/357854/3012416
opt 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 {
www.eeworm.com/read/357854/3012417
plg led.plg
礦ision2 Build Log
Project:
F:\湘灵电子工作室光盘资料\实验例程\1点亮一个灯\LED-C\LED.uv2
Project File Date: 02/22/2006
Output:
www.eeworm.com/read/357854/3012419
c led.c
/************************************************************************************/
/* 程序名:点亮一个LED */
/*
www.eeworm.com/read/357854/3012420
lst led.lst
C51 COMPILER V7.50 LED 02/25/2006 14:58:14 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE LED
OBJECT MODULE PLACED IN LED
www.eeworm.com/read/357854/3012423
hex led.hex
:04000F00C29080FC1F
:03000000020003F8
:0C000300787FE4F6D8FD75810702000F3D
:00000001FF
www.eeworm.com/read/357854/3012424
opt 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 {
www.eeworm.com/read/357388/3015571
s led.s
/*
* Name : led_on.s
* Disc : simple led example
* 2007-07-30 by Qingmin Liu
*/
@ register address
.equ WTCON, 0x53000000
.equ GPFCON, 0x56000050
@ offset value
.equ oGPFDAT, 0x04
@ macro defin
www.eeworm.com/read/357388/3015578
c led.c
#include "s3c2410.h"
#include "platform/smdk2410.h"
#define DELAYTIME 0x5000
void delay(unsigned long n);
int main(void)
{
unsigned char i;
unsigned long led[4] = {0xd0, 0x70, 0xe0, 0xb0};
GPFC
www.eeworm.com/read/357083/3031835
h led.h
#ifndef LED_H
#define LED_H
#define LED7 0x80 /* top (or furthest right) LED */
#define LED6 0x40
#define LED5 0x20
#define LED4 0x10
#define LED3 0x08
#define LED2 0x04
#define LED1 0x02
#d