-
51单片机的4*4矩阵键盘的汇编测试程序.
51单片机的4*4矩阵键盘的汇编测试程序.-51 4* 4 matrix keyboard compilation of the test.
- 2022-02-24 10:07:33下载
- 积分:1
-
用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
-
红外遥控接收
ORG 0000H
LJMP START 转入主程序
ORG 0010H
START:
MAIN:
JNB P2...
红外遥控接收
ORG 0000H
LJMP START 转入主程序
ORG 0010H
START:
MAIN:
JNB P2.2,IR
LJMP MAIN
以下为进入P3.2脚外部中断子程序,也就是解码程序
IR:
MOV R6,#9
SB:
ACALL DELAY882 调用882微秒延时子程序
JB P2.2,EXIT 延时882微秒后判断P3.2脚是否出现高电平如果有就退出解码程序
DJNZ R6, SB 重复10次,目的是检测在8820微秒内如果出现高电-infrared remote control receiver ORG 0000H LJMP START into main program ORG 0010H START : MAIN : JNB P2.2, IR LJMP MAIN below to enter P3.2 foot external interrupt subroutine, which is decoding procedures IR : MOV R6, SB# 9 : Calling ACALL DELAY882 882 microsecond delay subroutine JB P2.2, EXIT 882 microsecond delay after the judgment whether there P3.2 feet to I quit if decoding procedures DJNZ R6, SB repeated 10 times, the purpose is to test if within 8,820 microsecond high
- 2022-07-21 10:12:11下载
- 积分:1
-
这个文件主要介绍了一些实用的c语言实现单片机功能的例子
这个文件主要介绍了一些实用的c语言实现单片机功能的例子-Practical single-chip implementation of the c language function
- 2022-03-29 23:05:44下载
- 积分:1
-
C8051f020 MCU Flash memory AD45DB081
c8051f020单片机Flash存储器AD45DB081-C8051f020 MCU Flash memory AD45DB081
- 2022-01-26 17:07:29下载
- 积分:1
-
KS0108控制器的12864液晶驱动程序,实现了整个画面,中国…
KS0108控制器的12864液晶驱动,实现图片和中文全角,英文半角显示-12864 controller KS0108 LCD driver, realize the whole picture and the Chinese angle, the English half-angle display
- 2022-11-24 11:30:04下载
- 积分:1
-
单片机简易频率计。包含有Proteus仿真程序
单片机简易频率计。包含有Proteus仿真程序-Simple single-chip frequency counter. Proteus simulation program contains
- 2023-03-11 05:10:04下载
- 积分:1
-
LCD information Daquan, with a look at it.
液晶资料大全,下了看看吧。-LCD information Daquan, with a look at it.
- 2022-02-03 09:01:20下载
- 积分:1
-
P1口为数据口,控制线在P3部分端口,详见...C
P1口为数据口,控制线在P3部分端口,详见...C-C++flashled.rar - flashled演示,用keli c与protues仿真得到。,,C-C++下一页...
-P1 population of population data, the Line of Control in P3 some ports, See ... C-C flashled.rar- flashled demonstration. and c with keli protues simulations. , And C-C Next ...
- 2022-03-05 13:00:11下载
- 积分:1
-
C8051F020 development environment based on the single
基于单片机c8051F020开发环境下的计数器程序代码-C8051F020 development environment based on the single-chip counters under the code
- 2022-10-04 04:20:03下载
- 积分:1