一种电话遥控板的原程序

源代码在线查看: py-b.lst

软件大小: 70 K
上传用户: likefunv
关键词: 电话遥控 程序
下载地址: 免注册下载 普通下载 VIP

相关代码

				C51 COMPILER V6.23a  PY_B                                                                  02/07/2006 17:07:37 PAGE 1   
				
				
				C51 COMPILER V6.23a, COMPILATION OF MODULE PY_B
				OBJECT MODULE PLACED IN PY-B.OBJ
				COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE PY-B.C BROWSE DEBUG OBJECTEXTEND
				
				stmt level    source
				
				   1          #include "pubDcl.dcl"
				   2          #include "reg52.h"
				   3          #include "extio.h"
				   4          #include "valuedef.h"
				   5          #include "display.c"
				   6          #include "otimer.c"
				   7          #include "otelc1.c"
				   8          #include "tts_send_str.c"
				   9          #include "ht9200.c"
				  10          //#include "callid.c"
				  11          #include "serial.c"
				  12          #include "otelc.c"
				  13          #include "Analyse.c"
				  14          void SysInit()
				  15          {
				  16   1      //      P0=0xff;
				  17   1              P0=0xef;
				  18   1              P1=0xaf;
				  19   1              P2=0xff;
				  20   1              P3=0xff;
				  21   1              disp_Init();
				  22   1              OTel_RP_Init() ;
				  23   1              Phone_ToneCtrl(FALSE) ;
				  24   1              check_Init() ;
				  25   1              Serial_DealInit() ;
				  26   1              Sys_TimerInit()   ;
				  27   1              Serial_Init() ;
				  28   1              Serial_SendCommand("PY-B PHONE------BJDZ",20) ;
				  29   1      }
				  30          
				  31          void main()
				  32          {
				  33   1              uchar temp ;
				  34   1              SysInit() ;
				  35   1      //      delay(500) ;
				  36   1              while(1)
				  37   1              {
				  38   2                      OTel_RP_Check() ;
				  39   2                      if(GetSerialData(&temp) == 1)
				  40   2                      {
				  41   3                              Serial_Deal(temp) ;
				  42   3                      }
				  43   2              }
				  44   1      }
				
				
				MODULE INFORMATION:   STATIC OVERLAYABLE
				   CODE SIZE        =   2944    ----
				   CONSTANT SIZE    =    495    ----
				   XDATA SIZE       =   ----    ----
				   PDATA SIZE       =   ----    ----
				   DATA SIZE        =     67      21
				   IDATA SIZE       =     62    ----
				   BIT SIZE         =     11    ----
				END OF MODULE INFORMATION.
				
				C51 COMPILER V6.23a  PY_B                                                                  02/07/2006 17:07:37 PAGE 2   
				
				
				C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
							

相关资源