这是9个步进电机控制程序,每个都编译通过,并在使用中,可以共同商讨.联系:guanggu346 @163.com

源代码在线查看: text.lst

软件大小: 98 K
上传用户: zyhunicom
关键词: guanggu 346 163 com
下载地址: 免注册下载 普通下载 VIP

相关代码

				C51 COMPILER V7.50   TEXT                                                                  08/06/2007 23:15:17 PAGE 1   
				
				
				C51 COMPILER V7.50, COMPILATION OF MODULE TEXT
				OBJECT MODULE PLACED IN Text.OBJ
				COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE Text.c LARGE ROM(SMALL) BROWSE DEBUG OBJECTEXTEND
				
				line level    source
				
				   1          #include 
				   2          #define uint  unsigned int
				   3          
				   4          sbit P1_0 = P1^0;
				   5          sbit P1_1 = P1^1;
				   6          sbit P1_2 = P1^2;
				   7          sbit P1_3 = P1^3;
				   8          sbit P1_4 = P1^4;
				   9          sbit P1_5 = P1^5;
				  10          sbit P1_6 = P1^6;
				  11          sbit P1_7 = P1^7;
				  12          
				  13          
				  14          void main(void)
				  15          {
				  16   1      uint i;
				  17   1      P1=0x3f;
				  18   1      while(1)
				  19   1      {
				  20   2          P1>>=1;
				  21   2          for (i=0;i				  22   2          if  (P1==0x00) P1=0x3f;
				  23   2      }
				  24   1      }
				
				
				MODULE INFORMATION:   STATIC OVERLAYABLE
				   CODE SIZE        =     64    ----
				   CONSTANT SIZE    =   ----    ----
				   XDATA SIZE       =   ----       2
				   PDATA SIZE       =   ----    ----
				   DATA SIZE        =   ----    ----
				   IDATA SIZE       =   ----    ----
				   BIT SIZE         =   ----    ----
				END OF MODULE INFORMATION.
				
				
				C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
							

相关资源