12、完全编译

Deleting intermediate files and output files for project \’shengfangagsi – Win32 Debug\’.
——————–Configuration: shengfangagsi – Win32 Debug——————–
Compiling resources…
Compiling…
StdAfx.cpp
Compiling…
shengfangagsi.cpp
common.cpp
Dlgshengfang.cpp
Generating Code…
Linking…
   Creating library Debug/shengfangagsi.lib and object Debug/shengfangagsi.exp

shengfangagsi.dll – 0 error(s), 0 warning(s)

13、运行:F5www.yippeesoft.com

     礦  ision  3  V 3. 05 c uvision
 Copyright      (c )  Keil Elektronik GmbH           /  Keil Software, Inc         .  1995
 -  2004
C Compiler     :                    C51 . Exe                V 7.50
Assembler    :                      A51 . Exe                V 7.10
Linker   /Locator    :              BL 51 .Exe               V 5.12
Librarian    :                      LIB 51 . Exe             V 4.24
Hex Converter      :                OH 51 .Exe               V 2.6
CPU DLL   :                         S8051  . DLL             V 2.45
Dialog DLL     :                    DP 51 .DLL               V 2.45
Target DLL     :                    BIN\\MON   51 . DLL       V 2.39
Dialog DLL     :                    TP 51 .DLL               V 2.45

14、UVISIONwww.yippeesoft.comuVision

     PROJECT-NEW PROJECT,CPU选择ATMEL-AT89C51;8051-based Fullly Static 24MHz CMOS controller with 32  I/O Lines,
2 Timers/Counters, 6 Interrupts/2 Priority Levels, UART,
Three-Level Program Memory Lock, 4K Bytes Flash Memory,
128 Bytes On-chip RAM

15、C

    FILE-NEW :复制如下代码:#include <AT89X51.H>
sbit L1=P1^0;
void delay02s(void)               //延时0.2秒子程序
&leftsign;
  unsigned char i,j,k,l;
  for(l=100;l>0;l–) [hide]
   for(i=20;i>0;i–)
   for(j=20;j>0;j–) [/hide]
     for(k=248;k>0;k–); www.yippeesoft.com
&rightsign;
void main(void)
&leftsign;
  while(1)
    &leftsign;
      L1=0;
      delay02s();
      L1=1;
      delay02s();
    &rightsign; www.yippeesoft.com
&rightsign;
另存为 shengfang.cuVision

16、编译www.yippeesoft.com

    右边树-TARGET 1-SOURCE GROUP 1,右键 ADD FILE TO GROUP,选择 SHENGFANG.C。PROJECT-REBULD ALL TARGET。uVision

原创文章,转载请注明: 转载自YippeeSoft开心软件

本文链接地址: Keil uVision c51 agsi 插件DLL制作4

历史博文

标签:, , , , ,