⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 yj.lst

📁 基于8051单片机开发的带时钟显示的温度检测系统
💻 LST
字号:
C51 COMPILER V6.12  YJ                                                                     08/29/2007 20:59:44 PAGE 1   


C51 COMPILER V6.12, COMPILATION OF MODULE YJ
OBJECT MODULE PLACED IN .\yj.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE .\yj.c BROWSE DEBUG OBJECTEXTEND

stmt level    source

   1          #include <REGX52.H>
*** ERROR 318 IN LINE 1 OF .\yj.c: can't open file 'REGX52.H'
   2          #include "LCD1602.h"
*** ERROR C202 IN LINE 7 OF LCD1602.H: 'P2': undefined identifier
*** ERROR C202 IN LINE 8 OF LCD1602.H: 'P2': undefined identifier
*** ERROR C202 IN LINE 9 OF LCD1602.H: 'P2': undefined identifier
*** ERROR C202 IN LINE 15 OF LCD1602.H: 'LcdRs': undefined identifier
*** ERROR C202 IN LINE 16 OF LCD1602.H: 'LcdRw': undefined identifier
*** ERROR C202 IN LINE 17 OF LCD1602.H: 'LcdEn': undefined identifier
*** ERROR C202 IN LINE 21 OF LCD1602.H: 'LcdEn': undefined identifier
*** ERROR C202 IN LINE 31 OF LCD1602.H: 'LcdEn': undefined identifier
*** ERROR C202 IN LINE 32 OF LCD1602.H: 'LcdRs': undefined identifier
*** ERROR C202 IN LINE 33 OF LCD1602.H: 'LcdRw': undefined identifier
*** ERROR C202 IN LINE 35 OF LCD1602.H: 'LcdEn': undefined identifier
*** ERROR C202 IN LINE 36 OF LCD1602.H: 'LcdEn': undefined identifier
*** ERROR C202 IN LINE 84 OF LCD1602.H: 'LcdEn': undefined identifier
   3          #include "DS1302.h"
*** ERROR C202 IN LINE 4 OF DS1302.H: 'P2': undefined identifier
*** ERROR C202 IN LINE 5 OF DS1302.H: 'P2': undefined identifier
*** ERROR C202 IN LINE 6 OF DS1302.H: 'P2': undefined identifier
*** ERROR C202 IN LINE 7 OF DS1302.H: 'ACC': undefined identifier
*** ERROR C202 IN LINE 8 OF DS1302.H: 'ACC': undefined identifier
*** ERROR C202 IN LINE 39 OF DS1302.H: 'ACC': undefined identifier
*** ERROR C202 IN LINE 42 OF DS1302.H: 'DS1302_IO': undefined identifier
*** ERROR C202 IN LINE 43 OF DS1302.H: 'DS1302_CLK': undefined identifier
*** ERROR C202 IN LINE 44 OF DS1302.H: 'DS1302_CLK': undefined identifier
*** ERROR C202 IN LINE 45 OF DS1302.H: 'ACC': undefined identifier
*** ERROR C202 IN LINE 54 OF DS1302.H: 'ACC': undefined identifier
*** ERROR C202 IN LINE 55 OF DS1302.H: 'ACC7': undefined identifier
*** ERROR C202 IN LINE 56 OF DS1302.H: 'DS1302_CLK': undefined identifier
*** ERROR C202 IN LINE 57 OF DS1302.H: 'DS1302_CLK': undefined identifier
*** ERROR C202 IN LINE 59 OF DS1302.H: 'ACC': undefined identifier
*** ERROR C202 IN LINE 64 OF DS1302.H: 'DS1302_RST': undefined identifier
*** ERROR C202 IN LINE 65 OF DS1302.H: 'DS1302_CLK': undefined identifier
*** ERROR C202 IN LINE 66 OF DS1302.H: 'DS1302_RST': undefined identifier
*** ERROR C202 IN LINE 69 OF DS1302.H: 'DS1302_CLK': undefined identifier
*** ERROR C202 IN LINE 70 OF DS1302.H: 'DS1302_RST': undefined identifier
*** ERROR C202 IN LINE 76 OF DS1302.H: 'DS1302_RST': undefined identifier
*** ERROR C202 IN LINE 77 OF DS1302.H: 'DS1302_CLK': undefined identifier
*** ERROR C202 IN LINE 78 OF DS1302.H: 'DS1302_RST': undefined identifier
*** ERROR C202 IN LINE 81 OF DS1302.H: 'DS1302_CLK': undefined identifier
*** ERROR C202 IN LINE 82 OF DS1302.H: 'DS1302_RST': undefined identifier
*** ERROR C213 IN LINE 102 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 103 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 108 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 109 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 110 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 111 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 112 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 113 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 114 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 115 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 116 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 121 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 122 OF DS1302.H: left side of asn-op not an lvalue
C51 COMPILER V6.12  YJ                                                                     08/29/2007 20:59:44 PAGE 2   

*** ERROR C213 IN LINE 123 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 124 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 125 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 126 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 127 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 128 OF DS1302.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 129 OF DS1302.H: left side of asn-op not an lvalue
   4          #include "DS18B20.h"
*** ERROR C202 IN LINE 3 OF DS18B20.H: 'P2': undefined identifier
*** ERROR C202 IN LINE 15 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C202 IN LINE 17 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C202 IN LINE 19 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C202 IN LINE 21 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C202 IN LINE 31 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C202 IN LINE 33 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C202 IN LINE 34 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C202 IN LINE 46 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C202 IN LINE 47 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C202 IN LINE 49 OF DS18B20.H: 'DQ': undefined identifier
*** ERROR C213 IN LINE 71 OF DS18B20.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 72 OF DS18B20.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 73 OF DS18B20.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 74 OF DS18B20.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 75 OF DS18B20.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 89 OF DS18B20.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 90 OF DS18B20.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 91 OF DS18B20.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 92 OF DS18B20.H: left side of asn-op not an lvalue
*** ERROR C213 IN LINE 93 OF DS18B20.H: left side of asn-op not an lvalue
   5          sbit key=P2^7;
*** ERROR C202 IN LINE 5 OF .\YJ.C: 'P2': undefined identifier
   6          bit key_flag=0;
   7          
   8          void Delay1ms(unsigned int count)
   9          {
  10   1      	unsigned int i,j;
  11   1      	for(i=0;i<count;i++)
  12   1      	for(j=0;j<120;j++);
  13   1      }
  14          
  15          main()
  16          {
  17   1      	SYSTEMTIME CurrentTime;
  18   1      	LCD_Initial();
  19   1      	Initial_DS1302();
  20   1      	GotoXY(0,0);
  21   1      	Print("Date:");
  22   1      	GotoXY(16,0);
  23   1      	Print("Week:");
  24   1      	GotoXY(0,1);
  25   1      	Print("Time:");
  26   1      	GotoXY(16,1);
  27   1      	Print("Temper:");
  28   1      	while(1)
  29   1      	{	
  30   2      	    ReadTemperature();   
  31   2      		DS1302_GetTime(&CurrentTime);
  32   2      		WeekToStr(&CurrentTime);
  33   2      		DateToStr(&CurrentTime);
  34   2      		TimeToStr(&CurrentTime);
  35   2      		GotoXY(5,0);
  36   2      		Print(CurrentTime.DateString);
C51 COMPILER V6.12  YJ                                                                     08/29/2007 20:59:44 PAGE 3   

  37   2      
  38   2      		GotoXY(21,0);
  39   2      		Print(CurrentTime.WeekString);
  40   2      
  41   2      		GotoXY(5,1);
  42   2      		Print(CurrentTime.TimeString);
  43   2      
  44   2      		GotoXY(23,1);
  45   2      		Print(disp);
  46   2      
  47   2      		Delay1ms(300);
  48   2      	}
  49   1      }

C51 COMPILATION COMPLETE.  0 WARNING(S),  81 ERROR(S)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -