原创 彬太郎51单片机开发板视频教程C语言版之LCD12864

2011-3-24 09:04 2720 9 10 分类: MCU/ 嵌入式

attachment download


6d2926f8-2616-4da3-8d86-02233d34114d.jpg67679424-c2af-403a-9b4d-7dbdc48993a0.jpg


//程序说明
//结合时序图,进行写命令和写数据操作就可以啦
//功能:在12864上显示字符和汉字
//作者:爱因斯尼@SCUT


//时间:2010年10月4日
//地点:华南理工大学
#include<reg52.h>
#define uint unsigned int
#define uchar unsigned char
#define DS P3
sbit RS=P2^0;
sbit RW=P2^1;
sbit E=P2^2;
sbit PSB=P2^3;
sbit NC=P2^4;
sbit RST=P2^5;
sbit bell=P1^4;//定义蜂鸣器
sbit duan=P1^5;//定义段选端
sbit wei=P1^6;//定义位选端
sbit lie=P1^7;//定义点阵的列扫描
uchar code table[]=
"欢迎使用彬太郎  "
"Welcome to tlmcu"
"51单片机开发板  "
"QQ:120913319 @^@"
;
/***延时子函数,变化范围为1ms,具体看你想把形参的设计***/
void delay_ms(ms)  
{uint i,j;
 for(i=0;i<ms;i++)
   for(j=0;j<1200;j++);
}
/***延时子函数,变化范围为1ms,具体看你想把形参的设计***/
void delay_us(us)  
{uint i,j;
 for(i=0;i<us;i++)
   for(j=0;j<3;j++);
}
/***数码管的初始化函数,一开始让数码管什么也不显示***/
void Init_smg()
{
 P0=0x00;
 duan=1;
 P0=0x00;//关段选
 duan=0;


 P0=0xff;
 wei=1;
 P0=0xff;//关位选
 wei=0;


 lie=1;
 P0=0xff;//8*8点阵全灭
 lie=0;
 }
/***LCD12864写指令函数***/
void write_com(uchar com)
{
 RS=0;
 RW=0;
 E=0;
 delay_us(2);
 DS=com;
 delay_us(8);
 E=1;
 delay_us(2);
 E=0;
 delay_us(2);
}
/***LCD12864写数据函数***/
void write_dat(uchar dat)
{
 RS=1;
 RW=0;
 E=0;
 delay_us(2);
 DS=dat;
 delay_us(8);
 E=1;
 delay_us(2);
 E=0;
 delay_us(2);
}
/***LCD12864的初始化函数***/
void Init_LCD12864()
{
 delay_ms(50);
 write_com(0x30);
 delay_ms(1);
 write_com(0x30);
 delay_ms(1);
 write_com(0x0f);
 delay_ms(1);
 write_com(0x01);
 delay_ms(10);
 write_com(0x06);
 delay_ms(1);
}
/***LCD12864第一种显示方法***/
void show_LCD12864a(uchar addr_dat)
{
 uchar i,data0;
 write_com(addr_dat);
 data0=0x30;
 for(i=0;i<16;i++)
 {
   write_dat(data0);
   delay_us(1);
   data0++;
  }
 }
/***LCD12864第二种显示方法***/
void show_LCD12864b(uchar addr_dat)
{
 uchar i,data_h,data_l;
 write_com(addr_dat);
 data_h=0xb6;
 data_l=0xb0;
 for(i=0;i<16;i++)
 {
   write_dat(data_h);
   write_dat(data_l);
   delay_us(1);
   data_l++;
  }
 }
/******LCD12864的第三种显示函数******/
void show_LCD12864(uchar addr_dat)
//uchar table_start,uchar table_end)
{
uchar i;
write_com(addr_dat);
for(i=0;i<80;i++)
 {
 write_dat(table);
   delay_us(1);
  }
 }
/*****主函数*****/
void main()
{uchar j;
 Init_smg();
 bell=1;
 Init_LCD12864();
 while(1)
{
  show_LCD12864(0x80);
  delay_ms(180);
  write_com(0x01);//清屏
  delay_ms(120); 
  }
 }


/********************************************************************************************************/


;**********************************************
DATA_PORT EQU P3
RS EQU P2.0
RW EQU P2.1
E EQU P2.2
PSB EQU P2.3
RST EQU P2.4
COM EQU 20H
DAT EQU 21H
;******************************以上是接口定义
START:
ORG 0000H
MOV SP,#60H
LJMP DISP
;*********************************主程序入口地址
ORG 0040H
DISP: CLR PSB
LCALL DELAY
SETB PSB ;将PSB置1,通信方式为8位数据并口
LCALL DELAY
MOV COM,#30H ;功能设置---8BIT控制界面,基本指令集
ACALL WRI ;调用写指令子程序
LCALL DELAY ;延迟39uS
MOV COM,#0CH ;显示打开,光标关,反白显示关
ACALL WRI ;调用写指令子程序
LCALL DELAY ;延迟39uS
MOV COM,#01H ;清除屏幕显示,将DDRAM的地址计数器归零
ACALL WRI ;调用写指令子程序
LCALL DELAY ;延迟39uS
MOV COM,#06H ;DDRAM的地址计数器(AC)加1
ACALL WRI ;调用写指令子程序
LCALL DELAY ;延迟39uS
;****************************************************
DISPLAY5A:
MOV R2,#64 ;DDRAM地址记数器设为最大值
MOV R1,#10H
MOV COM,#80H ;DD RAM 地址-----0000000
ACALL WRI
DISP5A: MOV DAT,R1
ACALL WRD ;写入第二字节数据
INC R1
DJNZ R2,DISP5A
LCALL DELAY1 ;1S延时子程序
;*************************************以上是写入半角字符
DISPLAY5:
MOV R2,#64 ;DDRAM地址记数器设为最大值
MOV R1,#0DEH
MOV COM,#80H ;DD RAM 地址-----0000000
ACALL WRI
DISP5: MOV DAT,#0B4H
ACALL WRD ;写入第一字节数据
MOV DAT,R1
ACALL WRD ;写入第二字节数据
INC R1
DJNZ R2,DISP5
LCALL DELAY1 ;1S延时子程序
;**********************************以上是从字库中“崔”字处开始显示
MOV COM,#01H ;清屏
ACALL WRI ;调用写指令子程序
LCALL DELAY
MOV COM,#32H ;功能设置---8BIT控制界面,绘图显示ON
ACALL WRI ;调用写指令子程序
LCALL DELAY ;延迟39uS
MOV COM,#36H ;功能设置---8BIT控制界面,扩充指令集
ACALL WRI ;调用写指令子程序
LCALL DELAY ;延迟39uS
DISPLAY6:
MOV DPTR,#DAB2 ;图形数据入口地址
MOV R2,#32 ;32行,(双屏结构中上半屏)
MOV R3,#80H ;Y地址寄存器
DISP6: MOV COM,R3 ;设置绘图区的Y地址坐标
INC R3 ;Y地址加1
LCALL WRI
MOV COM,#80H ;设置绘图区的X地址坐标
LCALL WRI
MOV R1,#16 ;16*8列
DISP7: CLR A
MOVC A,@A+DPTR
MOV DAT,A
LCALL WRD
INC DPTR
DJNZ R1,DISP7
DJNZ R2,DISP6 ;写满全屏的16*8字节X64
MOV R2,#32 ;32行,(双屏结构的下半屏)
MOV R3,#80H ;Y地址寄存器
DISP8: MOV COM,R3 ;设置绘图区的Y地址坐标
INC R3 ;Y地址加1
LCALL WRI
MOV COM,#88H ;设置绘图区的X地址坐标
LCALL WRI
MOV R1,#16 ;16*8列
DISP9: CLR A
MOVC A,@A+DPTR
MOV DAT,A
LCALL WRD
INC DPTR
DJNZ R1,DISP9
DJNZ R2,DISP8 ;写满全屏的16*8字节X64
LCALL DELAY1 ;1S延时子程序
;*******************************************以上是写入一幅图画(电脑桌面图)
DISPLAY6A:
MOV DPTR,#DAB3 ;图形数据入口地址
MOV R2,#32 ;32行,(双屏结构中上半屏)
MOV R3,#80H ;Y地址寄存器
DISP6A: MOV COM,R3 ;设置绘图区的Y地址坐标
INC R3 ;Y地址加1
LCALL WRI
MOV COM,#80H ;设置绘图区的X地址坐标
LCALL WRI
MOV R1,#16 ;16*8列
DISP7A: CLR A
MOVC A,@A+DPTR
MOV DAT,A
LCALL WRD
INC DPTR
DJNZ R1,DISP7A
DJNZ R2,DISP6A ;写满全屏的16*8字节X64
MOV R2,#32 ;32行,(双屏结构的下半屏)
MOV R3,#80H ;Y地址寄存器
DISP8A: MOV COM,R3 ;设置绘图区的Y地址坐标
INC R3 ;Y地址加1
LCALL WRI
MOV COM,#88H ;设置绘图区的X地址坐标
LCALL WRI
MOV R1,#16 ;16*8列
DISP9A: CLR A
MOVC A,@A+DPTR
MOV DAT,A
LCALL WRD
INC DPTR
DJNZ R1,DISP9A
DJNZ R2,DISP8A ;写满全屏的16*8字节X64
LCALL DELAY1 ;1S延时子程序
LJMP START ;从开始处循环显示
;***************************************以上是写入一幅图画(电子制作实验室)
WRI: PUSH ACC
CLR RS
SETB RW
WRI1: MOV DATA_PORT,#0FFH
SETB E
MOV A,DATA_PORT
CLR E
JB ACC.7,WRI1
CLR RW
MOV DATA_PORT,COM
SETB E
CLR E
POP ACC
RET
;******************************************以上是写指令子程序
WRD: PUSH ACC
CLR RS
SETB RW
WRD1: MOV DATA_PORT,#0FFH
SETB E
MOV A,DATA_PORT
CLR E
JB ACC.7,WRD1
SETB RS
CLR RW
MOV DATA_PORT,DAT
SETB E
CLR E
POP ACC
RET
;******************************************以上是写数据子程序
DELAY: MOV R7,#0FFH
DELAY4: MOV R6,#00FH
LOOP2: DJNZ R6,LOOP2
DJNZ R7,DELAY4
RET
DELAY1: MOV R4,#08H
DELAY11:MOV R7,#0FFH
DELAY41:MOV R6,#0FFH
DJNZ R6,$
DJNZ R7,DELAY41
DJNZ R4,DELAY11
RET
XX: MOV R5,#0FFH
XX1: MOV R6,#0FFH
XX2: DJNZ R6,XX2
DJNZ R5,XX1
RET
;******************************************以上是延时子程序
DAB2:
DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,03FH,0FFH,0F0H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,040H,000H,018H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,0BFH,0FFH,0DCH,000H,001H
DB 080H,000H,01FH,0FFH,0FFH,000H,000H,000H,000H,000H,000H,0BFH,0FFH,0BCH,000H,001H
DB 080H,000H,030H,000H,001H,080H,000H,000H,000H,000H,001H,07FH,0FFH,0B8H,000H,001H
DB 080H,000H,030H,000H,000H,080H,000H,000H,000H,000H,001H,07FH,0FFH,078H,000H,001H
DB 080H,000H,019H,0FFH,0FEH,0C0H,000H,000H,000H,000H,002H,0FFH,0FFH,070H,000H,001H
DB 080H,000H,018H,000H,000H,040H,000H,000H,000H,000H,002H,0FFH,0FEH,0F0H,000H,001H
DB 080H,000H,00CH,001H,0FFH,060H,000H,000H,000H,000H,005H,0FFH,0FEH,0E0H,000H,001H
DB 080H,000H,00CH,07FH,0D0H,020H,000H,000H,000H,000H,005H,0FFH,0FDH,0E0H,000H,001H
DB 080H,000H,006H,000H,00FH,0B0H,000H,000H,000H,000H,00BH,0FFH,0FDH,0C0H,000H,001H
DB 080H,000H,006H,003H,0FCH,010H,000H,000H,000H,000H,00BH,0FFH,0FBH,0C0H,000H,001H
DB 080H,000H,003H,01FH,000H,018H,000H,000H,000H,000H,017H,0FFH,0FBH,080H,000H,001H
DB 080H,000H,003H,000H,000H,008H,000H,000H,000H,000H,017H,0FFH,0F7H,080H,000H,001H
DB 080H,000H,001H,080H,000H,00CH,000H,000H,000H,000H,017H,0FFH,0F7H,000H,000H,001H
DB 080H,000H,001H,080H,000H,004H,000H,000H,000H,000H,009H,0FFH,0EFH,000H,000H,001H
DB 080H,000H,000H,0C0H,000H,0F6H,000H,000H,000H,000H,006H,07FH,0EEH,000H,000H,001H
DB 080H,000H,000H,0C0H,003H,0C2H,000H,000H,000H,000H,001H,09FH,0DEH,000H,000H,001H
DB 080H,000H,000H,060H,000H,03BH,000H,000H,000H,000H,000H,067H,0DFH,000H,000H,001H
DB 080H,000H,000H,060H,000H,0E3H,000H,000H,000H,000H,000H,019H,0BFH,000H,000H,001H
DB 080H,000H,000H,030H,003H,08EH,000H,000H,000H,000H,000H,006H,03FH,000H,000H,001H
DB 080H,000H,000H,030H,006H,03CH,000H,000H,000H,000H,000H,001H,0FFH,000H,000H,001H
DB 080H,000H,000H,018H,000H,0F0H,000H,000H,000H,000H,000H,000H,0FFH,000H,000H,001H
DB 080H,000H,000H,018H,003H,0C0H,000H,000H,000H,000H,000H,00FH,07FH,080H,000H,001H
DB 080H,000H,000H,00CH,00FH,000H,000H,000H,000H,000H,000H,030H,01FH,0C0H,000H,001H
DB 080H,000H,000H,00CH,03CH,000H,000H,000H,000H,000H,000H,040H,007H,0E0H,000H,001H
DB 080H,000H,000H,006H,0F0H,000H,000H,000H,000H,000H,000H,0E0H,01FH,0E0H,000H,001H
DB 080H,000H,000H,007H,0C0H,000H,000H,000H,000H,000H,000H,0F8H,03FH,0C0H,000H,001H
DB 080H,000H,000H,003H,000H,000H,000H,000H,000H,000H,000H,07EH,0FFH,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,01FH,0FCH,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,007H,0F0H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H,0C0H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,005H,040H,088H,004H,001H,008H,000H,000H,00AH,081H,010H,004H,000H,020H,001H
DB 080H,079H,021H,008H,002H,021H,049H,000H,000H,0F2H,042H,010H,004H,047H,010H,001H
DB 080H,009H,007H,0DFH,07FH,0F7H,0AAH,000H,000H,012H,00FH,0BEH,07FH,0E5H,0FEH,001H
DB 080H,07FH,0F4H,051H,008H,081H,02CH,000H,000H,0FFH,0E8H,0A2H,044H,047H,000H,001H
DB 080H,009H,004H,061H,008H,081H,07FH,000H,000H,012H,008H,0C2H,07FH,0C5H,04AH,001H
DB 080H,00BH,024H,051H,008H,083H,081H,000H,000H,016H,048H,0A2H,044H,045H,06AH,001H
DB 080H,01DH,047H,0C9H,005H,005H,001H,000H,000H,03AH,08FH,092H,044H,047H,052H,001H
DB 080H,068H,084H,049H,005H,005H,07FH,000H,000H,0D1H,008H,092H,07FH,0C5H,06AH,001H
DB 080H,009H,094H,041H,002H,001H,001H,000H,000H,013H,028H,082H,044H,005H,04AH,001H
DB 080H,00EH,057H,0C1H,00DH,081H,001H,000H,000H,01CH,0AFH,082H,004H,029H,042H,001H
DB 080H,038H,034H,04EH,070H,071H,07FH,000H,000H,070H,068H,09CH,003H,0EBH,07EH,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
DAB3:
DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,030H,000H,00FH,0F0H,000H,060H,020H,004H,0C0H,000H,000H,000H,000H,000H,001H
DB 084H,030H,080H,01FH,038H,003H,060H,030H,03CH,0C0H,000H,000H,000H,000H,000H,001H
DB 087H,0FFH,0C0H,001H,0F8H,003H,0FBH,030H,0F9H,0FFH,0C0H,000H,000H,000H,000H,001H
DB 086H,030H,080H,000H,0C0H,006H,061H,020H,05BH,061H,080H,000H,000H,000H,000H,001H
DB 087H,0FFH,080H,07FH,0FFH,0CFH,0FDH,020H,01CH,060H,000H,000H,000H,000H,000H,001H
DB 086H,030H,080H,0FCH,0DFH,09CH,061H,020H,018H,07FH,000H,000H,000H,000H,000H,001H
DB 087H,0FFH,080H,080H,041H,083H,0F9H,020H,018H,060H,000H,000H,000H,000H,000H,001H
DB 083H,0FFH,080H,000H,060H,003H,06BH,020H,018H,07FH,080H,000H,000H,000H,000H,001H
DB 080H,030H,000H,000H,0C0H,003H,068H,020H,018H,060H,000H,000H,000H,000H,000H,001H
DB 080H,01FH,0F8H,000H,0C0H,002H,068H,020H,018H,060H,000H,000H,000H,000H,000H,001H
DB 080H,00FH,0F0H,00FH,0C0H,006H,069H,0E0H,018H,060H,000H,000H,000H,000H,000H,001H
DB 080H,003H,0E0H,003H,000H,000H,040H,0C0H,000H,060H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,060H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,030H,000H,000H,0E0H,000H,070H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,038H,003H,0F8H,0E0H,000H,030H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,030H,060H,018H,0E0H,00FH,0FFH,0E0H,000H,001H
DB 080H,000H,000H,000H,000H,000H,00FH,0FFH,0F0H,0D9H,0B0H,018H,000H,0C0H,000H,001H
DB 080H,000H,000H,000H,000H,000H,01CH,018H,0C0H,0DBH,018H,018H,001H,080H,000H,001H
DB 080H,000H,0FFH,0FFH,0FFH,000H,019H,0D8H,001H,0B3H,00CH,00FH,0FFH,0C0H,000H,001H
DB 080H,000H,0FFH,0FFH,0FFH,000H,000H,0D8H,001H,0B6H,01FH,000H,0ECH,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,006H,018H,001H,0BFH,0FCH,001H,087H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,003H,098H,001H,0FCH,00CH,003H,001H,080H,000H,001H
DB 080H,000H,000H,000H,000H,000H,001H,098H,001H,09EH,0CCH,007H,0FFH,080H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,018H,0E0H,01BH,0CCH,000H,039H,080H,000H,001H
DB 080H,000H,001H,0FFH,0FFH,000H,01FH,0FFH,080H,0FBH,078H,000H,031H,080H,000H,001H
DB 080H,000H,001H,0FFH,0FFH,000H,000H,030H,003H,09BH,078H,007H,0FFH,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,07EH,000H,01BH,030H,000H,030H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,0E3H,080H,018H,030H,000H,030H,060H,000H,001H
DB 080H,000H,000H,000H,000H,000H,003H,081H,0C0H,0F0H,037H,01FH,0FFH,0F0H,000H,001H
DB 080H,000H,000H,000H,000H,000H,01EH,000H,0C0H,007H,0FCH,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,003H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,07EH,0FDH,0F8H,007H,0E7H,007H,03FH,01FH,039H,0F0H,0F8H,003H,0C7H,03EH,001H
DB 080H,07EH,0FDH,0F8H,003H,0C3H,00DH,080H,036H,06CH,0D9H,0B0H,006H,0CDH,0BFH,001H
DB 080H,03CH,078H,0F0H,001H,083H,00FH,080H,01CH,03CH,0D8H,0E0H,006H,00DH,0BFH,001H
DB 080H,03CH,078H,0F0H,003H,0C3H,00CH,000H,030H,06CH,0D9H,080H,006H,00DH,0BFH,001H
DB 080H,03CH,078H,0F1H,087H,0E7H,087H,080H,03EH,03FH,0FDH,0F3H,003H,0C7H,03FH,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,033H,000H,001H,098H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,01EH,000H,000H,0F0H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 080H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,000H,001H
DB 0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH,0FFH


欢迎光临我们的淘宝网:http://item.taobao.com/auction/item_detail.htm?item_num_id=9447334857

PARTNER CONTENT

文章评论1条评论)

登录后参与讨论

用户303811 2011-3-24 15:23

OK!
相关推荐阅读
用户302949 2011-10-22 22:32
磁珠及磁珠与电感的区别
磁珠及磁珠与电感的区别 (2011-3-25 08:49)一、磁珠的原理         磁珠的主要原料为铁氧体。铁氧体是一种立方晶格结构的亚铁磁性材料。铁氧体材料为铁镁合金或铁镍合金,它的制造工艺和...
用户302949 2011-09-29 00:50
用Altium Designer 6时遇到的几个问题及解决办法
用Altium Designer 6时遇到的几个问题及解决办法 /P> 1.烦人的坐标信息 在画PCB板时,鼠标上附带有烦人的坐标等信息,经过查询,找到了解决办法,用“SHIFT+H”可解决...
用户302949 2011-06-01 12:36
16*16点阵滚动显示汉字
/***程序:16*16点阵滚动显示汉字***//***作者:许彬***//***时间:2011.04.18***//***地点:华南理工大学***/ //程序说明//四个8*8点阵组成16*16//...
用户302949 2011-05-20 21:16
彬太郎51单片机开发板视频教程汇编语言版之可调节的电子时钟
;程序说明: ;显示的时间格式为:23-59-50,既,时-分-秒;按键说明:P2.4为时调节。P2.5为分调节。P2.6为秒调节。这三个按键均是每按一次加一。;晶振说明:12MHZ;数码管说明:共阴...
用户302949 2011-04-23 14:53
彬太郎51单片机开发板配套电子书视频下载
/****作者:爱因斯尼@SCUT*******时间:2010.08.29******说明:由于开发板学习程序难度逐渐加大,程序比较多和复杂,我在这里就不一一发表了。有需要的同学可以到以下地址下载配套...
用户302949 2011-04-22 12:07
彬太郎51单片机开发板视频教程之贪食蛇
attachment download//**程序:贪食蛇***//***说明:通过外部中断0可控制蛇的速度****//***游戏开始是点阵的测试,贪食蛇一开始身长2个点***//***开始闪烁的那个...
EE直播间
更多
我要评论
1
9
关闭 站长推荐上一条 /3 下一条