搜索资源列表
key
- 采用状态机的按键驱动程序,实现长按短按等;-Using state machine key drivers
Status-analysis
- 这是非常有名的按键的状态分析法的程序,是本人经过很长时间编制出来,成功的应用到产品中去,适合有经验的程序员。-This is a very famous key state analysis program, is my after a long time out, successfully applied to the product, suitable for experienced programmers.
standy
- 在STM32单片机上实现长按4S按键进入待机模式,并且可以用RTC报警唤醒单片机-In the STM32 microcontroller to achieve long press 4S button to enter standby mode, and you can wake up with a single-chip RTC alarm
stm32-key_scan
- 利用一个I/O口,接一个按键,实现3功能操作:单击 + 双击 + 长按+特别操作,利用USART输出显示在串口助手。压缩文件里有详细说明。完整工程,打开即可使用。-Use an I/O port, then a key to achieve three functions: Click+ double+ long press+ special operations. Compressed files are described in detail.
LPC2138-keycontrol
- 处理器内核:LPC2138 程序实现LED不同状态的显示,通过长按或短按按键实现状态切换 基于proteus仿真-Processor Core: LPC2138 program LED display different states, or by pressing keys to achieve the state short press to switch on proteus simulation
qiangdaqi
- 本例程为一抢答器;其中主持人操控S12与S13两个按键。选手共六位,分别操控S6--S11中的一个按键。 当主持人按下抢答开始按键S13后,倒计时开始,计时5s。此后最先按下按键的选手号码将显示与数码管上。后来按下的将无显示。若五秒计时结束后,再按下按键也不会显示。若主持人没有按开始键,就有选手抢答,则视为犯规。此时犯规的选手号码将被显示于数码管上(最多显示五位犯规选手 同时,蜂鸣器发出长笛声报警,数码管全亮。而当主持人按下清零键S12后,一切状态均恢复,可以开始新一轮的抢答。-This rou
key_driver.tar
- 可以检测按键长按还是短按功能的一个按键驱动,里面实现了一个小型的状态机,蛮不错的哦。-Keys can be detected long press or short press function a key driver which implements a small state machine, Oh, pretty good.
Microcontroller-a-key-pluripotent
- 单片机一键多能,支持单击,双击,单击长按,双击长按,电路结构:P1口接8个LED(低电平使能) P3.3口接键盘(占用中断) 程序功能: 可以用单键实现6种功能, 所有按键功能占用时间小于1秒. 1秒内单击一次,1号灯亮 1秒内双击,2号灯亮 1秒内三次按键,3号灯亮 1秒内长按,4号灯亮 1秒内单击加长按,5号灯亮 1秒内二次单击加长按,6号灯亮 程序正常工作时,8号灯闪烁(2HZ) -Microcontroller a key pluri
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.
key
- 单个按键的长按、短按、多击、无击等功能,实现分页显示-A single button press, press, multi-strike, no strike, etc.
STM32_KeyScan
- 基于奋斗开发板的STM32的按键控制LED灯,使用状态机思想消除按键抖动并加入了长按处理功能,用16位FIFO(数据缓冲队列)提高可靠性和可移植性-STM32 development board based on the struggle of the keys to control LED lights, using a state machine debounce ideology and joined the long press processing functions, using 1
button
- 查询方式矩阵或非矩阵按键,包含单击按键,长时按键,连续按键,组合按键,代码虽小,功能强大。本人原创,可以参考。请勿盗用。-Query matrix or matrix keys, including click buttons, long buttons, for keys, key combination, the code is small and powerful. I original, you can reference. Do not steal.
key_long_short_double
- 功能按键的单击、双击和长按,并有详细的注释-Function keys click, double click, and long press, and detailed notes
am
- 基于FPGA的用verilog语言写的,改程序可产生不同调制系数和不同频率的AM波,长按按键切换调制度25 、50 、75 和短按按键切换调制信号频率1k、1.5k、2k、2.5k.-Based on the FPGA using verilog language, change the program can produce different coefficients and different frequency modulated AM wave, long press the butt
keyscanverilogCX
- 这里有完整的verilog按键消抖程序(经过验证的),有图有真相,本程序是依据特权老师的程序自行改编的,由于按键消抖仿真时间较长,这里是假定16个时钟周期便于仿真。内有详细说明!我在网络上目前只能查找到程序,却找不到仿真程序和解说配套的资料,本文件彻底填补了这一空缺,对于初学者很有帮助!-Here are complete verilog keys away shaking program (proven), picture is truth, this program is based on
keyscanverilogCX
- 这里有完整的verilog按键消抖程序(经过验证的),有图有真相,本程序是依据特权老师的程序自行改编的,由于按键消抖仿真时间较长,这里是假定16个时钟周期便于仿真。内有详细说明!我在网络上目前只能查找到程序,却找不到仿真程序和解说配套的资料,本文件彻底填补了这一空缺,对于初学者很有帮助!
UCGUI398UCOS2K
- UCGUI,按键连加连减方法,一个机械工程,GUI的按键是不支持连加或连减的(长按功能),STM32+GUI+UCOS,GUI画面在interface.c-UCGUI ,STM32+GUI+UCOS,GUI,interface.c,
Key0
- 完整地实现上层按键扫描函数,按键的短按,长按,连按,释放等等状态的判断均是在此程序中完成。可以更容易的去理解按键的执行流程。便于移植。是完整的单片机程序-Full realization of the upper key scan function, press the button, press, double-click, release, etc. are completed to determine the status of this program. Easier to unders
KEY
- 按键 短按,长按,连续按,长按抬起程序。-With short button press, press, continuous press, long press took up the program.