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

📄 trs232.lst

📁 some examples of USB to/from RS232
💻 LST
字号:
C51 COMPILER V6.14  TRS232                                                                 07/13/2001 23:25:12 PAGE 1   


C51 COMPILER V6.14, COMPILATION OF MODULE TRS232
OBJECT MODULE PLACED IN .\Trs232.OBJ
COMPILER INVOKED BY: C:\KEIL\C51\BIN\C51.EXE .\Trs232.c DEBUG OBJECTEXTEND

stmt level    source

   1          #include "io51.h"
*** ERROR 318 IN LINE 1 OF .\Trs232.c: can't open file 'io51.h'
   2          static const char TAB[]={0xfe,0xfd,0xfb,0xf7,
   3                       0xef,0xdf,0xbf,0x7f,
   4                       0xfe,0xfd,0xfb,0xf7,
   5                       0xef,0xdf,0xbf,0x7f, 
   6                       0x7f,0xbf,0xdf,0xef,
   7                       0xf7,0xfb,0xfd,0xfe,
   8                       0x7f,0xbf,0xdf,0xef, 
   9                       0xf7,0xfb,0xfd,0xfe,
  10                       0x00,0xff,0x00,0xff,
  11                       0x01};              
  12          void DELAY (unsigned int value) 
  13          {
  14   1           while(value>0) value--;
  15   1      }
  16          
  17          void DPTR(char *ptr)
  18          {
  19   1           while(*ptr!=01) 
  20   1             {
  21   2              SBUF=*ptr;
*** ERROR C202 IN LINE 21 OF .\TRS232.C: 'SBUF': undefined identifier
  22   2              while(TI!=1); 
*** ERROR C202 IN LINE 22 OF .\TRS232.C: 'TI': undefined identifier
  23   2              TI=0;
*** ERROR C202 IN LINE 23 OF .\TRS232.C: 'TI': undefined identifier
  24   2              ++ptr;
  25   2              DELAY(20000);
  26   2             }
  27   1           pte=TAB;
*** ERROR C202 IN LINE 27 OF .\TRS232.C: 'pte': undefined identifier
  28   1      }
  29          
  30          
  31          main()
  32          {
  33   1       scon=0x00;  
*** ERROR C202 IN LINE 33 OF .\TRS232.C: 'scon': undefined identifier
  34   1        while(1) DPTR(TAB);
  35   1      }
  36          

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

⌨️ 快捷键说明

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