虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

c<b>On</b>versi<b>On</b>

  • 用C51写的普通拼音输入法源程序代码

    用C51写的普通拼音输入法源程序代码:原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。  因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的.编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。    在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。  打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。 #include<stdio.h> char * py_ime(char *); void main(void){ while(1)    {     char input_string[]="yI";     xdata char chinese_string[255];     sprintf(chinese_string,"%s",py_ime(input_string));    }}

    标签: C51 拼音输入法 代码 源程序

    上传时间: 2013-10-30

    上传用户:cainaifa

  • 用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。 原作使用了一个二维数组用以查表

    用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。 原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。 因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的 :-( 编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。 在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。 打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。

    标签: embuffalo C51 com www

    上传时间: 2014-01-26

    上传用户:semi1981

  • This a simple example project for the MSP430 series MCU and the GCC port of the mspgcc project. The

    This a simple example project for the MSP430 series MCU and the GCC port of the mspgcc project. The project contains a makefile and uses assembler and C sources. It shows a clock on an character LCD.

    标签: project the example simple

    上传时间: 2015-10-19

    上传用户:waitingfy

  • VC6.0核心编程。主要涉及到windows消息

    VC6.0核心编程。主要涉及到windows消息,框架,mfc库以及相关编程,com,activex技术,数据库技术,网络编程技术。为英文版本。 The 6.0 release of Visual C++ shows Microsoft s continued focus on Internet technologies and COM, which are key components of the new Windows Distributed interNet Application Architecture (DNA). In addition to supporting these platform initiatives, Visual C++ 6.0 also adds an amazing number of productivity-boosting features such as Edit And Continue, IntelliSense, AutoComplete, and code tips. These features take Visual C++ to a new level. We have tried to make sure that this book keeps you up to speed on the latest technologies being introduced into Visual C++.

    标签: windows 6.0 VC 核心

    上传时间: 2016-01-02

    上传用户:lmeeworm

  • This sample displays a basic integer calculator powered by the 8051 microcontroller. Although Keil

    This sample displays a basic integer calculator powered by the 8051 microcontroller. Although Keil C51 has a full floating point math library the evaluation version is restricted to 2k of object code, so we have constrained this sample to integer maths in order to fit within this limit. The program for this design was written in C using the Keil uVision 2 IDE for which Proteus VSM provides a Debug Monitor driver. Instructions for configuring Proteus to run in conjunction with the Keil environment can be found by editing the 8051 microcontroller on the schematic (point at it and press CTRL-E) and then clicking on the help button on the Edit Component dialogue form.

    标签: microcontroller calculator Although displays

    上传时间: 2014-12-01

    上传用户:edisonfather

  • 基于微网的光伏变流器系统设计

    光伏发电是未来新能源发电重要方向之一,而光伏变流器是光伏发电系统的核心。介绍一种基于微网理念的光伏变流器设计。以该变流器为核心的光伏发电系统可以看做一个小型的微网系统。该系统能根据外部电网情况,工作于并网模式和离网模式。介绍了该系统的各个组成部件的设计以及变流器主电路部分器件的选型。最后,由实验样机进行测试。试验结果验证了电路拓扑结构及控制方案的可行性,也说明了系统参数设计方法的正确性。 Abstract:  Solar Photovoltaic generation is an important direction of new energy power generation in the future,while photovoltaic converter is the core of photovoltaic generation system. This paper deals with a study on photovoltaic inverter based on the concept of microgrid. This paper describes a system whose core component is the photovoltaic inverter,can work on grid-connected mode or run independently according to the external situation. The paper simply describes the main components of the system. At last,the prototype was produced and tested. Test result has proved feasibility of circuit topology structure and controlling scheme and shown correctness of system parameters.Key words: PV inverter; microgrid; off-grid; storage battery

    标签: 光伏 变流器 系统设计

    上传时间: 2014-12-24

    上传用户:Shaikh

  • Reading and Writing iButtons v

    Abstract: This application note explains the hardware of different types of 1-Wire® interfaces and software examples adapted to this hardware with a focus on serial ports. Depending on the types of iButtons required for a project and the type of computer to be used, the most economical interface is easily found. The hardware examples shown are basically two different types: 5V general interface and 12V RS-232 interface. Within the 5V group a common printed circuit board could be used for all circuits described. The variations can be achieved by different populations of components. The same principal is used for the 12V RS-232 interface. The population determines if it is a Read all or a Read/Write all type of interface. There are other possible circuit implementations to create a 1-Wire interface. The circuits described in this application note cover many different configurations. For a custom application, one of the described options can be adapted to meet individual needs.

    标签: iButtons Reading Writing and

    上传时间: 2013-10-29

    上传用户:long14578

  • Full compliance with the USB Specification v1.1 and USB CDC v1.1  Support the RS232 Serial interfa

    Full compliance with the USB Specification v1.1 and USB CDC v1.1  Support the RS232 Serial interface  Support automatic handshake mode  Support Remote wake-up and power management  256 bytes buffer each for upstream and downstream data flow  Support default ROM or external EEPROM for device configuration  On chip USB transceiver  On chip crystal oscillator running at 12M Hz  Supports Windows 98/SE, ME, 2000, XP, Windows CE3.0, CE .NET, Linux, and Mac OS  28 Pins SOIC package 28

    标签: Specification compliance 1.1 USB

    上传时间: 2016-08-21

    上传用户:dapangxie

  • Given Perl s natural fit for web applications development, it s no surprise that Perl is also a natu

    Given Perl s natural fit for web applications development, it s no surprise that Perl is also a natural choice for web services development. It s the most popular web programming language, with strong implementations of both SOAP and XML-RPC, the leading ways to distribute applications using web services. But books on web services focus on writing these applications in Java or Visual Basic, leaving Perl programmers with few resources to get them started. "Programming Web Services with Perl" changes that, bringing Perl users all the information they need to create web services using their favorite language.

    标签: Perl applications development surprise

    上传时间: 2014-11-21

    上传用户:xiaoyunyun

  • In this article, I will explain how to create UDP packets and then send them to a remote server thro

    In this article, I will explain how to create UDP packets and then send them to a remote server through the Internet using WinPCap for Windows. The code has been tested to work with Windows XP SP2 and Vista SP1 on Linksys routers, and on Toshiba modems connected directly to the Internet. Please note that the code here is very minimalistic, and can be greatly expanded depending on your needs. The reason I use WinPCap in this article is that it solves the issue of Winsock for Windows (XP SP2 and above) not allowing raw UDP packets to be sent (in Linux, you can just use regular sockets). With WinPcap, it is possible to specify your own source IP and source hardware addresses in packets.

    标签: article explain packets create

    上传时间: 2013-12-12

    上传用户:x4587