登录
首页 » 汇编语言 » 1,消除按键的抖动问题 因为按键在闭合或断开过程中出现一段抖动期,主要由于按键的不稳定性引起的,这时会呈现一串页脉冲,时间的长短和开关的机械特性有关。一般在5m...

1,消除按键的抖动问题 因为按键在闭合或断开过程中出现一段抖动期,主要由于按键的不稳定性引起的,这时会呈现一串页脉冲,时间的长短和开关的机械特性有关。一般在5m...

于 2022-05-06 发布 文件大小:836.00 B
0 273
下载积分: 2 下载次数: 1

代码说明:

1,消除按键的抖动问题 因为按键在闭合或断开过程中出现一段抖动期,主要由于按键的不稳定性引起的,这时会呈现一串页脉冲,时间的长短和开关的机械特性有关。一般在5ms~10ms之间。为保证CPU对键的一次闭合作一次处理,必须去抖动。在键的稳定闭合或断开时读键的状态。 2,据EICE51原理图编写并调试一个键输入子程序,其功能为判断键盘上有无键输入,若有键入,作去抖动处理后,计算输入键的键号送累加器A。-eliminate jitter button issues as keys or disconnect the closure process for some jitter period, mainly due to the instability of the keys to the cause, then it will result in a bunch of pages pulse, the duration and switches on the mechanical properties. General ~ 10ms between 5ms. To ensure that the CPU in a pair of keys a close cooperation, must go jitter. The key to the stability closed or disconnected when reading the key state. 2, EICE51 schematics prepared and debug a key input subroutine, and its function of determining whether keys on the keyboard input, if typing for to handle jitter, the admission of Bond, Bond sent accumulator A.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 实现企业财务部门对工资进行集中管理。可供财务人员对企业的员工进行添加、删除,对员工的基本工资、浮动工资、工资发放进行管理以及提供财务人员查询员工的基本工资、浮动...
    实现企业财务部门对工资进行集中管理。可供财务人员对企业的员工进行添加、删除,对员工的基本工资、浮动工资、工资发放进行管理以及提供财务人员查询员工的基本工资、浮动工资和总体工资并且可以打印报表;-Corporate finance department for centralized management on wages. Financial officer for the staff of enterprises to add, delete, on the staff of their basic wages, floating wages, payroll and financial management staff personnel inquiries basic wages, floating wages and overall wage and can print statements
    2022-02-20 17:54:57下载
    积分:1
  • 功能最全的能够运行四则运算的计算器且利用堆栈实现带括号的功能...
    功能最全的能够运行四则运算的计算器且利用堆栈实现带括号的功能-The most versatile able to run the calculator and the four operations with the use of the stack to achieve the function in parentheses
    2022-04-10 18:51:17下载
    积分:1
  • 译器
    汇编编译器-Compilation of the compiler
    2022-01-24 17:28:58下载
    积分:1
  • 一个集成开发写平台,对初学有一定的帮助,是一个压缩包,直接解压即可(不需解压密码)...
    一个汇编语言集成开发写平台,对初学汇编有一定的帮助,是一个压缩包,直接解压即可(不需解压密码)-a compilation of written language integrated development platform for beginners compilation is certainly helpful, is a compressed, can be extracted directly (without extracting passwords)
    2022-08-26 08:26:57下载
    积分:1
  • 蓝牙 hc 05 代码
    在 + 角色 = 0---将模块要药膏模式设置。默认模式为药膏。 在 + 角色 = 1---将模块是主模式设置。 设置内存命令: 在 + CMODE = 1 设置模块,以使其他随机蓝牙模块 (未指定地址) 搭配。的 默认值是这种模式。 在 + CMODE = 1 设置模块,以使对带有蓝牙模块 (指定地址)。如果将模块设置 先随机搭配,然后设置模块,以使蓝牙模块搭配有 指定的地址。然后该模块将搜索最后的配对的模块,直到找到的模块。 重置密码命令 在 + PSWD = XXXX 设置模块对密码。密码必须是 4 位。 重置的波特率 在 + UART = = < 参数 > < Param2 > < Param3 >。 在 HC 0305 命令集提供了更多的信息 示例: 在 + UART = 9600,0,0---设置波特率为 9600N81 重置蓝牙名称 在 + 名称 = XXXXX 内容摘要: HC 05 有许多功能,涵盖 HC 06 的所有功能。上面的命令是最 常见的。除此之外,HC 05 留下很多空间的用户。所以 HC 05 优于 HC 06 和 建议。HC 03 是类似与 HC-05。上述的介绍也适合 HC-03
    2022-03-24 08:16:28下载
    积分:1
  • 红外遥控六足爬虫机器人设计.有详细的文档,包括电路图和代码...
    红外遥控六足爬虫机器人设计.有详细的文档,包括电路图和代码-design for infrared remote control to robots with six legs ,which has detail text including circuit and code
    2022-03-01 11:22:10下载
    积分:1
  • Five experimental hash table [the experiment was] one, the choice of hash functi...
    实验五 哈希表 [实验目的] 1、哈希函数的选择 2、用链表创建哈希表 3、输出哈希表 [题目] 假设人名为中国人姓名的汉语拼音形式。待填入哈希表的人名共有30个,取平均查找长度的上限为2。哈希函数用除留取余数法构造。用链表来处理冲突。-Five experimental hash table [the experiment was] one, the choice of hash function 2, create a hash table with linked list 3, the output hash table [subject] assumptions of people known as the Chinese name for the Chinese Phonetic Alphabet forms. Hash table to be populated with the names of a total of 30, taking the upper limit of the average search length of 2. Hash function used in addition to collecting more than the number of law structure. Used to deal with the conflict list.
    2022-01-26 03:18:43下载
    积分:1
  • 记事本 程序设计 课程设计
    记事本 汇编语言程序设计 课程设计 -text editor
    2022-06-29 04:57:22下载
    积分:1
  • VB设计血压测量源码
    创新实验设计血压测量仪的数据处理,即通过血压测量仪来收集数据。打开试验箱,运行程序则在PC上就可以仿真模拟出实际的血压值,该程序简单又实用,又具有数据存储及查询的功能,可以不断地存储测量数据,其中存储的数据包括姓名、年龄、性别、血压。
    2023-05-13 11:35:02下载
    积分:1
  • C++ 函数调用堆栈,反例子。可以学习子函数入参传递,子函数返回等。...
    C++ 函数调用堆栈,反汇编例子。可以学习子函数入参传递,子函数返回等。-C++ function call stack, disassembly examples. Can learn to pass parameters into the subroutine, subroutine return and so on.
    2023-08-23 07:50:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载