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

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

于 2022-05-06 发布 文件大小:836.00 B
0 284
下载积分: 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 个回复

  • 景观1 / 2(第一个)
    Landscape 1/2 (first of two) quick key list: Right/Left - Spin landscape Forward/Back - Move in current direction either forward or backward Space - Move the water level up and down ESC - Exit -Landscape 1/2 (first of two) quick key list: Right/Left - Spin landscape Forward/Back - Move in current direction either forward or backward Space - Move the water level up and down ESC - Exit
    2022-12-05 06:55:03下载
    积分:1
  • AT24C02的工作原理和串行E2PROM读写
    AT24C02串行E2PROM的工作原理与读写-AT24C02 serial E2PROM of the working principle and to read and write
    2022-08-21 14:58:20下载
    积分:1
  • 实现高
    实现高级电子琴的程序,并实现若干扩展功能。 基本功能:用8257键盘输入对应的七个音阶,通过实验箱的喇叭发出声音,并通过七段数码管显示输入音阶; 扩展功能:1、录音:记录所弹奏曲目 2、放录音:任意时刻重放最新记录曲目 3、在程序中可预设一曲目,按一键实现播放该曲目。 4、在播放录制曲目或预设曲目时,按8279键盘上任意键可以暂停播放,再按一次从暂停处继续播放。 5、程序运行时有友好的用户介面 -Realize high-level organ of the process and realize a number of extensions. Basic functions: keyboard 8257 corresponds with the seven scale, through experimental sound speaker boxes, and through Seven-Segment LED display input scale the expansion of functions: one, sound recording: Record the playing pieces 2, released recordings: any time replay music 3-to-date records, in the proceedings may be the default one track, according to realize one key to play the tracks. 4, recording tracks in the player or the default program, press any key on the keyboard 8279 can pause playback, press once again to continue from the suspended players. 5, is running friendly user interface
    2023-05-29 06:35:03下载
    积分:1
  • 这个过程我花了很长时间才写的,很好的,可以…
    这个程序我花了好久才写出来的,非常的好,它可以产生很高性能的三角波,一般程序不易产生如此好的波形.-this process I have spent a long time before the writing, very good, and it can produce a very high-performance triangular wave, the general procedures have not been so good waveform.
    2022-02-09 16:05:31下载
    积分:1
  • yourself writing exercises procedures, it is very basic, and achieving the Engli...
    自己写的习题程序,可以说是很基本的,实现了英文查询月份输出简写。-yourself writing exercises procedures, it is very basic, and achieving the English abbreviation for the month of output.
    2022-08-10 13:47:28下载
    积分:1
  • 8086 on the preparation of the compilation process for the preparation of the co...
    关于8086汇编程序的编写,对于汇编的编写很有借鉴。-8086 on the preparation of the compilation process for the preparation of the compilation of a very useful reference.
    2022-02-09 16:25:58下载
    积分:1
  • 数码管显示交流稳压器,使用9454单片机写,
    数码管显示交流稳压器,使用9454单片机编写,汇编言语-Digital display AC voltage stabilizer, the use of 9454 single-chip preparation, compilation of words
    2023-07-10 08:10:03下载
    积分:1
  • 这是液晶程序的源代码
    这是液晶程序的源代码-This is a program"s source code
    2022-12-26 22:35:02下载
    积分:1
  • 基于的51单片机简易电子钟
    本代码为本人基于汇编语言的51单片机课程上机考试程序。;实验要求;利用P1/P2口或8255的接口电路和实验台上提供的六个数码管显示,设计一个电子钟,;电子钟设计如下格式   XX XX XX由左向右分别为时、分、秒;本人采用定时器溢出中断确定时间基准,main函数对共阴数码管进行动态扫描;p1口作为位选信号输出端;P2口作为段选信号输出端
    2022-02-13 20:11:06下载
    积分:1
  • EM78P153设计的PWM源代码,里面有详细的描述。
    EM78P153用PWM设计的源代码,其中有详细的说明。
    2022-08-03 05:00:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载