Description: Demo程序经Keil701编译后,代码量为7-8K,可直接在KeilC51上仿真运行。 使用方法:解压后双击yy项目,点调试即可在串口仿真看到结果。 Demo程序创建了3个任务A、B、C优先级分别为2、3、4,A每秒显示一次,B每3秒显示一次,C每6秒显示一次。从显示结果看,显示3个A后显示1个B,显示6个A和2个B后显示1个C,结果显然正确。用户可以仿照范例运用更多系统API函数写出自己的程序。只要程序中有显示语句就可以用软件仿真器看结果。注意:系统提供的显示函数是并发的,他不是直接显示到串口,而是先输出到显存,用户不必担心IO慢速操作影响程序运行。串口输入也采用了同样的技术,他使得用户在CPU忙于处理其他任务时照样可以盲打输入命令。 将EXL2-shell目录下的文件覆盖yy目录下的同名文件,将word.c、yyshell.c、yyshellsub.c、mystring.c加入项目,删除yy1.c,编译后调试即可。输入help可得到在线帮助,具体命令用法见文章说明。 yangye网友推荐http://www.sics.se/~adam/lwip/网站学习TCPIP,该网站开放源代码的lwip是专为8bit和16bitMCU设计的TCPIP协议栈,已在多种CPU上移植成功,推荐大家下载。-Demo processes Keil701 compiler, code capacity of 7-8K to be directly in KeilC51 on simulation run. Use : unpacked click yy, debugging points in the serial simulation can see the result. Demo procedures for the creation of three task A, B, C priority for 2,3,4, A second shows a B every three seconds a show, C every six seconds a show. Looking at the results from the show, a show three shows a B, showed six A and two B shows a C, the result is obviously correct. Users can use more modeled on the example of system API function to write their own procedures. As long as the procedures are shown on the statement can be used simulation software for the outcome. Note : the system provides display function is complicated, and he is not a direct indication of the serial port, but before the output Platform: |
Size: 731136 |
Author:套件 |
Hits:
Description: 仿真步骤如下: 1、把3个帖子的内容分别保存为51t9py.c,51t9py_indexa.h,5py_mb.h,放在同一目录下,将51t9py.c加入工程编译 2、由于Keil的模拟串口是单字节显示,汉字显示为乱码,所以要加挂RICHWIN或RichView这种会重新刷新显示的中文平台,或手工刷新屏幕,所以请先到 http://www.pchome.net/dl/chinese.htm 下载RichView,安装运行 3、在Keil环境下可以直接按“Ctrl+F5”键仿真,按“F5”全速运行,切换到在串口依次输入: // 64*.6 426***.5 98*.7 936.3 586.1 4826*.1 9464*.7 64*.6试试:-) 4、按键对应(根据我自己的手机设置的,全部在PC的小键盘操作): -simulation steps are as follows : 1 and 3 respectively, the content of messages posted on the preservation of 51t9py.c, 51t9py_indexa.h, 5py_mb.h, on the same directory, will join the project 51t9py.c compiler 2, Keil is the simulation of single-byte Serial show , the Chinese showed gibberish, so need to add or RichView RICHWIN this show will re-set the Chinese platform, or manual refresh screen, so please download RichView http://www.pchome.net/dl/chinese.htm to install three operations in Central Keil Habitat can be directly "Ctrl+ F5" key simulation, according to the "F5" running full-speed, switched to the serial order input :// 64*. 6426*.***. 5 98 7936.3 586.1 4826 1 9464*.*. 6 7 64*. try :-) 4, corresponding button (according to my own set of phones, a Platform: |
Size: 6144 |
Author:许赞龙 |
Hits:
Description: C8051f020是基于51核的业界8位单片机最高速的,指令执行速度25MIPS。这个程序包是新华龙公司提供的,需要购买900元的开发系统才会赠送此文件包,先上传。可以用keil软件打开或者去www.xhl.com.cn下载IDE软件打开工程ps---c文件直接用记事本就ok啦^_^,里面有温度传感,步进电机等等源代码,方面移植!^_^-C8051f020 is based on the 51 nuclear industry eight most high-speed microcontroller, instruction execution speed MIPs. This package is a new company providing the Hualong, you need to buy 900 yuan development system will give this package, the first upload. Keil software can be used to open or download IDE www.xhl.com.cn open software engineering-- c ps documents directly on the notebook ok-- ^ _ ^, inside temperature sensor, stepper motors, etc. source code, area transplant! ^ _ ^ Platform: |
Size: 536576 |
Author:程鹏 |
Hits:
Description: 51的一个例子,能有帮助的最好不过了,在伟复下顺利通过-an example, can be helpful but the best of the under-Minute smooth passage Platform: |
Size: 2048 |
Author:xiaoxiao |
Hits:
Description: 这是一个用汇编,和vc编写的劲乐团游戏,需下载到51/52单片机上使用-This is a compilation of use, and the preparation of fresh vc Orchestra games, the need to download 51/52 on the use of SCM Platform: |
Size: 35840 |
Author:何丹萍 |
Hits:
Description: 51系列单片之间的串口多机通信程序。已经成功通过调试,可以可靠通信。-51 Series single-chip serial port between the multi-machine communication program. Has successfully passed the testing can be reliable communication. Platform: |
Size: 58368 |
Author:zhych |
Hits:
Description: 51单片机双机串口接受和发送程序,可用于两机通信-51 single-chip dual receive and send serial procedures, can be used for both communication Platform: |
Size: 52224 |
Author:陈宇 |
Hits:
Description: CAD版本转换工具,支持R14----2007版本的相互转换-CAD version of the conversion tools, to support the version of the R14 2007 conversion Platform: |
Size: 3652608 |
Author:伍一 |
Hits:
Description: 图型液晶12864驱动程序,已调试能过,C语言,51单片机.-Chart 12864 LCD driver, has been able to debug, C language, 51 single-chip microcomputer. Platform: |
Size: 3072 |
Author:longlee |
Hits:
Description: 基于80c51的汇编can总线调试程序,实际调试ok-Based on a compilation of 80C51 Bus debugger can actually debug ok Platform: |
Size: 74752 |
Author:cool |
Hits:
Description: 某牛人在51单片机上开发出来的一个俄罗斯方块的游戏,有液晶屏显示代码。-A cow in the 51 single-chip developed by a Russian box games, has LCD screen display code. Platform: |
Size: 262144 |
Author:王方 |
Hits:
Description: 拼音输入法模块。使用单片机开发拼音输入法的源代码,结合汉字字模,可完美实现汉字在51单片机平台上的输入和显示。-Pinyin input method module. Pinyin input method using the MCU development source code, combined with Chinese font can be perfectly realized character in the 51 single-chip platform, the input and display. Platform: |
Size: 11264 |
Author:wupingjun |
Hits: