代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
led.c
#include
#include
#include
#define SCLK1(YesOrNo) (YesOrNo ? (PORTD |= (1
led.h
///////////////////////////////////////////////////////////////////////////////
// Led.h : header file
// Visual Source Safe: $Revision: 1.2 $
//
// Led static control. Will display a LED in 4 dif
led.cpp
///////////////////////////////////////////////////////////////////////////////
// Led.cpp : implementation file
// Visual Source Safe: $Revision: 1.5 $
//
// Led static control. Will display a LE
led显示.c
#include
#include
#define uint usigned int
#define uint uchared char
void delay(uint);
void display(void);
uchar disbuffer[8]={0,1,2,3,4,5,6,7};
void main(void)
{
XBYTE
led显示.asm
LED: MOV A,#80H
MOV DPTR,#7F03H
MOV @DPTR,A
MOV R2,57H
MOV R3,7FH
LED1: MOV DPTR,#TAB
MOV A,@R2
MOV A,@A+DPTR
MOV DPTR,#7FOOH
MOV @DPTR,A
INC DPTR
MOV A,@R3
MOV @DPTR,A
CALL D
led.lst
1 .file "led.c"
2 .arch atmega48
3 __SREG__ = 0x3f
4 __SP_H__ = 0x3e
5 __SP_L__ = 0x3d
6
led.c
#include
#include "led.h"
unsigned char seg[]={
0x3f,0x06,0x5b,0x4f, /* 0 1 2 3*/
0x66,0x6d,0x7d,0x07, /* 4 5 6 7 */
0x7f,0x6f,0x77,0x7c, /* 8 9 A B */
0x39,0x5e,0x79,0x71 /*
led.s
.module led.c
.area lit(rom, con, rel)
_led_data::
.word 63
.word 6
.word 91
.word 79
.word 102
.word 109
.word 125
.word 7
.word 127
.word 111
.word 119
.word 124
.word