代码搜索结果
找到约 10,000 项符合
LED 的代码
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.c
#include
sbit D1=P0^0;
sbit D2=P0^1;
sbit D3=P0^2;
main()
{
unsigned int i;
for(i=0;i
led.lst
C51 COMPILER V8.02 LED 10/08/2007 16:50:41 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE LED
OBJECT MODULE PLACED IN led
led.h
#define LED_INIT() led_timer=0; PTD=PTD_PTD0_MASK+PTD_PTD1_MASK; DDRD=0xff; /* LED off, LED pin is output (the rest PTD pins are made outputs and brought low here so they do not float) */
#def
led.s
.module led.c
.area text(rom, con, rel)
.dbfile C:\TDdownload\zxy\169demo\169RTC\led.c
.area lit(rom, con, rel)
_seg_table::
.byte 192,249
.byte 164,176
.byte 153,146
.byte 130,248
.
led.o
XL
H 4 areas 6 global symbols
M led.c
S lsl8 Ref0000
A text size 8A flags 0
dbfile C:\TDdownload\zxy\169demo\169RTC\led.c
dbfunc e delay_us 0 fV
dbsym r time 10 I
dbline FFFFFFFF 0
dbline 7 0
led.lis
.module led.c
.area text(rom, con, rel)
0000 .dbfile C:\TDdownload\zxy\169demo\169RTC\led.c
.area lit(rom,
led._c
#include
const unsigned char seg_table[16]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,
0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e};
unsigned char led_buff[4]={0,0,0,0};
/* 微秒级延时程序 */
led.c
#include
const unsigned char seg_table[16]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,
0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e};
unsigned char led_buff[4]={0,0,0,0};
/* 微秒级延时程序 */