?? lcd.lst
字號:
C51 COMPILER V6.12 LCD 09/03/2007 16:55:45 PAGE 1
C51 COMPILER V6.12, COMPILATION OF MODULE LCD
OBJECT MODULE PLACED IN lcd.OBJ
COMPILER INVOKED BY: D:\Program Files\keil\C51\BIN\C51.EXE lcd.c DB OE
stmt level source
1 //////////////////////////////
2 ////lcd.c
3 ////by ts
4 ///2007.9.3
5 ///version 1
6 /////////////////////////////
7
8 #include "lcd.h"
9 #include<intrins.h>
10 #include "common.h"
11
12
13
14
15 void LCD_display(unsigned char code_bit,unsigned char flag)
16 {
17 1 unsigned char temp_1,temp_2;
18 1 unsigned char a;
19 1 unsigned char j;
20 1 temp_1=code_bit;
21 1 temp_2=code_bit;
22 1 for(a=0;a<8;a++)
23 1 {
24 2 LCD_clk=0;
*** ERROR C202 IN LINE 24 OF LCD.C: 'LCD_clk': undefined identifier
25 2 temp_1=temp_2;
26 2 temp_1=temp_1&0x80;
27 2 if(temp_1==0x00)
28 2 {
29 3 LCD_data=0;
*** ERROR C202 IN LINE 29 OF LCD.C: 'LCD_data': undefined identifier
30 3 }
31 2 else
32 2 {
33 3 LCD_data=1;
*** ERROR C202 IN LINE 33 OF LCD.C: 'LCD_data': undefined identifier
34 3 }
35 2 LCD_clk=1;
*** ERROR C202 IN LINE 35 OF LCD.C: 'LCD_clk': undefined identifier
36 2 temp_2=temp_2<<1;
37 2 }
38 1 if(flag==0x01)
39 1 {
40 2
41 2 RS=0;
*** ERROR C202 IN LINE 41 OF LCD.C: 'RS': undefined identifier
42 2 RW=0;
*** ERROR C202 IN LINE 42 OF LCD.C: 'RW': undefined identifier
43 2 E=1;
*** ERROR C202 IN LINE 43 OF LCD.C: 'E': undefined identifier
44 2 j=2000;
45 2 while(j-->1);
46 2 E=0;
*** ERROR C202 IN LINE 46 OF LCD.C: 'E': undefined identifier
47 2 j=4000;
C51 COMPILER V6.12 LCD 09/03/2007 16:55:45 PAGE 2
48 2 while(j-->1);
49 2 }
50 1 else
51 1 {
52 2 RS=1;
*** ERROR C202 IN LINE 52 OF LCD.C: 'RS': undefined identifier
53 2 RW=0;
*** ERROR C202 IN LINE 53 OF LCD.C: 'RW': undefined identifier
54 2 E=1;
*** ERROR C202 IN LINE 54 OF LCD.C: 'E': undefined identifier
55 2 j=2000;
56 2 while(j-->1);
57 2 E=0;
*** ERROR C202 IN LINE 57 OF LCD.C: 'E': undefined identifier
58 2 j=4000;
59 2 while(j-->1);
60 2 }
61 1 }
62
63
64
C51 COMPILATION COMPLETE. 0 WARNING(S), 12 ERROR(S)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -