-
用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
-
16 10进制加法程序,单片机KEIL51的制备
16位10进制加法程序,KEIL51编写,适合单片机 -16 10 hex addition procedures, KEIL51 preparation for SCM
- 2023-03-28 06:30:04下载
- 积分:1
-
Write your own STM32F10x the ADC and Timer
自己写的 STM32F10x的ADC和Timer驱动, 没有使用固件库。每秒通过串口UART输出当前ADC值。
应用范围: 因为不涉及IO口,所以此工程在STM32F1xx的任何主板上都可以运行。
编译器: IAR ARM 4.42A。
作者: w123456xy@sohu.com 15189792379。
-Write your own STM32F10x the ADC and Timer-driven, not using the firmware library. Second serial UART output current through the ADC value. Application scope: because they do not involve IO port, so this works on any STM32F1xx motherboard can run. Compiler: IAR ARM 4.42A. Author: w123456xy@sohu.com 15189792379.
- 2022-07-11 04:46:01下载
- 积分:1
-
DS18B20 +DS1302+LCD1602 + 16×16点移动显示
DS18B20+DS1302+LCD1602+16X16点阵移动显示-DS18B20+ DS1302+ LCD1602+16 X16 Dot Mobile Display
- 2023-04-15 11:40:03下载
- 积分:1
-
一、实验任务
利用开发系统编制程序,产生三角波、锯齿波、正弦波
二、程序编制要求
分别产生三种波形,并能通过按键调节输出频率
三、改变频率的方法...
一、实验任务
利用开发系统编制程序,产生三角波、锯齿波、正弦波
二、程序编制要求
分别产生三种波形,并能通过按键调节输出频率
三、改变频率的方法
改变数据送入0832的延时,即通过延时子程序的参数改变实现。延时参数的改变即通过键功能选择,用查表法将表格中的延时参数送入延时子程序。
四、程序设计提示
1、功能键应设四个:{
2、功能键的选择:
采用转换设计法时,应选用键值连续的按键-genert
- 2022-05-06 08:14:06下载
- 积分:1
-
JTAG 提供了简单易行的调试手段。该软件提供了简易AVR jtag迪的制作方法...
JTAG 提供了简单易行的调试手段。该软件提供了简易AVR jtag迪的制作方法-offers a simple JTAG debugging tools. The software provides a simple JTAG Di AVR Method of Making
- 2023-06-07 07:40:03下载
- 积分:1
-
智能小车 完整报告 加程序 汇编语言 功能齐全
智能小车 完整报告 加程序 汇编语言 功能齐全-Smart car full report plus a full-featured assembly language procedures
- 2022-05-24 08:13:41下载
- 积分:1
-
基于51单片机的U盘型MP3设计(含C语言程序,原理图)
基于51单片机的U盘型MP3设计(含C语言程序,原理图)-51 MCU-based U-disk-based MP3 design (including C language program, schematic diagram)
- 2022-02-05 16:44:53下载
- 积分:1
-
C8051F06X系列单片机的C语言编程实例,非常适合初次使用该单片机的人阅读,对掌握该单片机有很好的帮助作用。...
C8051F06X系列单片机的C语言编程实例,非常适合初次使用该单片机的人阅读,对掌握该单片机有很好的帮助作用。-C8051F06X MCU Series C language programming examples, very suitable for the initial use of the SCM readers to grasp the MCU are very helpful.
- 2022-02-21 03:19:14下载
- 积分:1
-
富士通单片机内部FLASH的操作,富士通单片机的资料网上极少,希望对大家有所帮助
XFlash_V1.0.zip...
富士通单片机内部FLASH的操作,富士通单片机的资料网上极少,希望对大家有所帮助
XFlash_V1.0.zip-Fujitsu internal FLASH MCU operation, Fujitsu MCU little information online, We hope to help XFlash_V1.0.zip
- 2022-09-05 15:55:03下载
- 积分:1