搜索资源列表
Keil_key
- 一个采用Keil C编写的嵌入式单片机按键驱动,全部采用C语言描述,为本人原创。本程序实现在最少使用单片机引脚的情况下实现最大的按键数,例如使用N根线能实现N*(N-1)个按键,使用按键对照表,并且实现了长按、短按、复用键等功能。
keyandds18b20
- 一个可控温度报警装置的源码,用DS18B20采集温度,用4个按键设置温度的上下限并存在EEPROM中,按键可实现单击和长按,且时间精确,也是一个不错的键盘程序.4个数码管显示温度,4个数码管用来设定.
MCU_KEYBOARD_JIDA
- 51单片机片键盘驱动程序(带键盘击打实现) 我们在编写单片机键盘程序时,一般都是利用延时实现键消抖,但是很难实现键盘按下后的键盘连续击打,当然可以通过较复杂的变量转换实现,平凡老师写过一篇文章叫做《一种常用键盘程序的设计》,平凡老师是在主循环中进行的按键连续击打实现,我阅读后感觉不错,但是模块化不够理想,最后,平凡老师也承认,这样在主循环中实现这样的键盘击打,只能用在主循环不是很忙的时候,如果程序本身的主循环时间比较长,那就比较麻烦了,所以最后,平凡老师还是建议大家用定时器做,后来我感觉用平
key_inc_dec.rar
- 具有连加功能的的按键扫描程序,长按有快速加数的作用,类似于p3的快进功能,在51平台上实现,另附proteus电路,Even increase with the key function of the scanning process, a long press summand has the role of rapid, similar to p3 of the fast-forward function, realize the 51 platform, Proteus separate c
key.rar
- 按键状态机,清晰的实现键盘的扫描。 支持多功能按键:长按,短按等,State machine keys, clear keypad scanning implementation. Supporting multi-function keys: long press, short press, etc.
AD_KEY
- 本资料为基于单片机的AD按键的程序。能用单IO口实现多按键处理,实现了短按,长按和组合键等功能。本程序的编译器为CVAVR,程序可移植性好,能轻易的移植到其他带ADC的单片机上去。-This information is based on single-chip AD button procedure. Can achieve single-IO I deal with many keys, according to achieve short and long by a combination
scankey
- 自做的一个流程流码,用于判断C51单片机的长按与短按键的功能(一键多功能),自动调用相应的处理函数.修改下还可以实现更多的功能.-Since the flow stream to do a code, used to judge the long-C51 single-chip microcomputer according to the function keys and a short (one multi-function keys), automatically call the cor
C8051F930ButtonForPca
- 在C8051F930单片机上,利用端口匹配和PCA实现按键的长按、短按功能。-In the C8051F930 microcontroller, using the port matching and PCA to achieve a long button press, short press functions.
Key
- 实现4个按键的按下,抬起,长按,作为触发事件来处理相应的函数。-Achieve four keys pressed, lift, press and, as a triggering event to deal with the corresponding function.
ZTJ_KEY2
- AVR单片机程序,利用状态机原理实现的按键扫描,具有长按连发功能。-AVR microcontroller program, the use of state machine scans the key principles of implementation, with long bursts according to function.
pinlvceshi
- 在Freescale单片机上实现按键频率测试 数码管倒计时进入准备状态 亮灯 测试人员看见亮灯后开始快速按键 MCU记录指定时间内按键次数 时间到达后灭灯,在数码管上显示次数 长按按键重新开始 如果出现抢跑的情况,给出提示-Freescale microcontrollers to achieve in the frequency of testing digital countdown button for the state light into visible
DS18B20
- 一个可控温度报警装置的源码,用DS18B20采集温度,用4个按键设置温度的上下限并存在EEPROM中,按键可实现单击和长按,且时间精确,也是一个不错的键盘程序.4个数码管显示温度,4个数码管用来设定.--A controlled temperature alarm device source, with DS18B20 collecting temperature, with four buttons to set the temperature of the upper and lower l
key
- 【精】送给大家一个按键长按和短按处理程序[开源+仿真通过]内有Proteus仿真例子和源码程序。程序可以实现按键长按、短按的处理。51单片机仿真通过!-[Fine] gave us a key long press and short press process [source+ simulation by] within the Proteus simulation examples and source code program. Program can be key long press,
key
- 用stm32实现按键的长按和短按,通过子函数返回-The stm32 achieve subfunction button long press and short return
status-keyScan.rar
- [原创]基于状态机的按键对时程序,实现(长按,短按,自动连发)等功能,注释详细.,When the program state machine-based keys (long, short, automatic bursts) function, detailed notes.
key
- 采用状态机的按键驱动程序,实现长按短按等;-Using state machine key drivers
51-single-button-press-experiment
- 【STC】51单片机按键长短按实验。 含有Proteus仿真源文件。这个实验很好的展示了如何实现按键的长按、短按的返回操作。-[STC] 51 single button press experiment
key_test
- 经测试 可用的状态机按键 可实现 长按 短按 连按-Used by the test state machine keys can be realized even by long press short press, etc.
短按1,2,3次,长按
- 在正点原子战舰版上实现了按键的短按一下,两下,三下,和长按的操作(A short press, two, three, and long press buttons were implemented on the Zhengdianyuanzi)
按键程序
- 实现短按,长按和组合键的模块化,更好的移植在其他的程序中实现功能(Realize the function of key combination)