📄 lcd12864test.lst
字号:
C51 COMPILER V7.07 LCD12864TEST 07/15/2008 11:09:40 PAGE 1
C51 COMPILER V7.07, COMPILATION OF MODULE LCD12864TEST
OBJECT MODULE PLACED IN LCD12864test.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE LCD12864test.c BROWSE DEBUG OBJECTEXTEND
stmt level source
1 #include"at89x52.h"
2 #include "comm.h"
3 #include"zimo.h"
4 #include"lcd.h"
5 #include"wrlcd.h"
6 void main(void){
7 1 uchar lx,ly,m;
8 1 uint s;
9 1
10 1 P1_3=0;
11 1 delay(40);
12 1 P1_3=1;
13 1 delay(40);
14 1 P2_1 = 0;
15 1
16 1 lcd_open();
17 1 while(1){
18 2 for(m=0;m<8;m++){
19 3 for(ly=0;ly<64;ly++){
20 4 lcd_setxyaddr(m,ly);
21 4 lcd_senddata(1, 0xff);
22 4 }
23 3 }
24 2 delay(80);
25 2 lcd_clrscr();
26 2 for(m=0;m<8;m++){
27 3 for(ly=64;ly<128;ly++){
28 4 lcd_setxyaddr(m,ly);
29 4 lcd_senddata(2, 0xff);
30 4 }
31 3 }
32 2 delay(80);
33 2 lcd_clrscr();
34 2 s='0'*16;
35 2 lx=ly=0;
36 2 for(m=0;m<12;m++){
37 3 LCD_writeline(lx,ly,s);
38 3 s=s+16;
39 3 ly=ly+8;
40 3 if(ly>127){lx=lx+2;ly=0;}
41 3 }
42 2 s='a'*16;
43 2 for(m=0;m<26;m++){
44 3 LCD_writeline(lx,ly,s);
45 3 s=s+16;
46 3 ly=ly+8;
47 3 if(ly>127){lx=lx+2;ly=0;}
48 3 }
49 2 s='A'*16;
50 2 for(m=0;m<26;m++){
51 3 LCD_writeline(lx,ly,s);
52 3 s=s+16;
53 3 ly=ly+8;
54 3 if(ly>127){lx=lx+2;ly=0;}
55 3 }
C51 COMPILER V7.07 LCD12864TEST 07/15/2008 11:09:40 PAGE 2
56 2 delay(80);
57 2 lcd_clrscr();
58 2 LCD_write();
*** WARNING C206 IN LINE 58 OF LCD12864TEST.C: 'LCD_write': missing function-prototype
59 2 delay(160);
60 2 lcd_clrscr();
61 2 LCD_pig();
*** WARNING C206 IN LINE 61 OF LCD12864TEST.C: 'LCD_pig': missing function-prototype
62 2 delay(250);
63 2 lcd_clrscr();
64 2 }
65 1 }
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 575 ----
CONSTANT SIZE = 2048 ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- 8
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 2 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -