-
用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不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。-C51 with the Pinyin input method, which is rewritten netizens embuffalo. Unrivaled www.21ic.com available in the free publication of the original work by Kai-51 on the Pinyin input method procedures . Appreciate the use of a two-dimensional array for the look-up table, I think this is a waste of space. Each of the characters but the index table to manually input address, efficiency is not high. I use the structure to rewrite a bit. We see now is this. Because the code comparison, a total of 6, more than 000 Chinese characters, this must
- 2023-04-01 14:55:03下载
- 积分:1
-
err
通讯规则:
1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/
2:通讯连接采用硬件MAX485,双向单工
3:每个上行/下行的数据包的字节个数都是一样的(通讯数据量)
4:每个上行/下行的数据包都采用CRC8校验
5:数据接收采用中断+查询的方式
6:总是由主机向从机发送一个数据包,从机收到数据包后向主机回复一个数据包
7:不管是主机还是从机,如果收到的数据包有任何错误,都将丢弃该数据包,等效于没有接收
8:从机之间不能相互通讯,必须通过主机才能交换数据
9:无效地址是0,主机地址是1,从机地址是2.3.4......广播地址是255 -err
- 2023-04-26 20:15:03下载
- 积分:1
-
24c02
24c02-24c512 c51驱动-24c02-driven 24c512 decoder
- 2023-07-17 22:25:03下载
- 积分:1
-
pid procedures AN964.zip note to explain the procedures in process
pid程序AN964.zip的说明文件,讲解程序运行流程-pid procedures AN964.zip note to explain the procedures in process
- 2022-03-18 22:03:59下载
- 积分:1
-
用单片机的I/O口象检测按键那样对其进行查询计数,在旋转速度较慢时,可以对其计数...
用单片机的I/O口象检测按键那样对其进行查询计数,在旋转速度较慢时,可以对其计数-With MCU I/O port as the detection of keys as its query count, slow rotating, you can count on their
- 2022-03-11 05:14:44下载
- 积分:1
-
小型单
单片机小工具(实用)
可以用来做单片机的开发工具,很实用的-Small single-chip tool (utility) can be used to make single-chip development tools, it is useful
- 2022-05-07 03:44:58下载
- 积分:1
-
cstn 1.5 with ST7636的C51测试程序.
cstn 1.5 with ST7636的C51测试程序.-cstn ST7636 1.5 with the C51 test procedures.
- 2022-02-22 03:16:27下载
- 积分:1
-
MSP430F449的LCD使用(代码和硬件)[芯片类]
MSP430F449的LCD使用(代码和硬件)[芯片类]-MSP430F449 the LCD use (code and hardware) [chip category]
- 2022-07-26 06:40:57下载
- 积分:1
-
LPC915 I2C module configuration from the plane at the interface can be directly...
LPC915的I2C模块配置为从机时的接口程序
可直接添加到工程里使用-LPC915 I2C module configuration from the plane at the interface can be directly added to the used in the project
- 2022-06-02 22:38:24下载
- 积分:1
-
51 Singlechip play the music of C51 process and circuit simulation with Proteus,...
51单片机播放音乐的C51程序和用Proteus仿真的电路图,上述两个软件均已上传,请站长慎查-51 Singlechip play the music of C51 process and circuit simulation with Proteus, the two have been upload software, please check station Shen
- 2023-08-15 11:00:03下载
- 积分:1