搜索资源列表
duo-ge-an-jian
- AT89S52 C语言 矩阵按键 多个按键同时按下下 识别算法,并能识别长按短按。-AT89S52 is C language matrix button multiple keys pressed simultaneously under the recognition algorithm, and identifies the press a short press.
Single-chip-key-long-and-short-press
- 单片机按键长按与短按 实现按键的复用功能,增强按键的灵活性-Single-chip key long and short press
Project2
- 1、 硬件部分包括AT89C52、LCD1602和4个独立按键 2、 使用定时器0产生10ms的定时中断,作为时钟基准和软件定时器的基准。 3、 系统使用两个软件定时器Tkeyscan和Tdisplay。 Tkeyscan用来独立按键模块的定时扫描,每次扫描结合按键状态机的当前状态判断按键的有效性(消抖)及其时长(长按还是短按)。 Tdisplay用来定时激活LCD1602的显示(200ms一次,可自行修改)。 4、 整个系统在四种状态间流转:DISPL
NoteQ
- 简单地android日记本功能,一共三个页面,包括日记标题的填写,心情的选择以及日记正文的填写。提交以后可以用listview方式显示,单击listview可以查看日记详细信息,长按有新建和删除等菜单选项。-Simply android diary and fill a total of three pages, including the diary title, the choice of the mood and fill out the diary body. Submitted lat
single_long_double_button
- 采用ATMEGA48单片机,采用状态机实现按键的单击、双击、长按的按键功能-The ATMEGA48 microcontroller, using the state machine to implement the double click click button long press keys function
DateTime
- 修改WinCE系统的时间日期,智能长按修改-Time and date modified WinCE system, Intelligent Long modify
key
- 用stm32实现按键的长按和短按,通过子函数返回-The stm32 achieve subfunction button long press and short return
stopwatch
- 使用一个电容触摸按点实现基本秒表功能,通过短按、长按实现功能切换,使用的液晶是MzLH04-Design a stopwatch based on a capsense-touch button,you can switch between all modes simply via short-press and long-press.The LCD-mode is MzLH04(made by China)
keyboard
- 基于VHDL的4*4矩阵键盘扫描,包括按键次数计数功能,已处理防抖、长按、双键-Count function based on VHDL-4* 4 matrix keyboard scanning, including the number of keys, and have been processed image stabilization, long, double bond
FSM
- 按键的状态机实现,可以实现,短按,长按。连击等效果。-The keys of the state machine, could achieve, short press, long press. Batter and other effects.
KEY
- 自己写的一个带有松手检测和长按识别,短按识别,长短按区分的键盘扫描程序-Write your own keyboard scanner with a loosely detection and long-identification, press recognition, length according to the distinction
msp430_LSKey
- msp430上的按键程序,包含独立键盘的长按,短按检测,以及矩阵键盘,使用的时候可以根据预编译选项选择功能-button on the msp430 procedures, including independent keyboard long press, short detection, and matrix keyboard, use the time function can be selected according to pre-compile option
anjian
- 基于51单片机带长按功能的按键显示,kill软件。-Based on 51 single-chip with a long press function key, kill software.
chip-microcomputer-KEY-scan
- 电路中按键检测的代码,长按则快速闪动,基于51单片机。-Circuit button detection code, based on 51 single-chip.
key
- 集按键消抖,不影响cpu时序,c程序,单键,复合键,点触,长按连续加或减(switch case 语句)-Set button debounce, does not affect the cpu timing, c program, a single bond, composite key, tap, press and continuous plus or minus
at89c2051_auto_brightness_clock
- 《亮度自适应的四位数码管电子钟》 1. 时分显示,24/12小时制可选。纯时间,无日期、年份功能。2. 环境光强感应,自动调整LED显示的亮度(14级亮度),以免白天看不清,晚上太刺眼。3. 自然醒闹时唤醒功能。采用白光LED逐渐亮起,模拟天亮的过程。4. 闹时按星期设定,可以选择七天全部和一周五天工作日等模式。5. 一键设定。 模式选择和调整都只用一个按键,长按与短按。长按进入设定或确定设定,短按调整或模式选择。-1 hour and minute display, 24/12 hour
mian
- avr单片机,M16.三个按键,中间长按可以打开和关闭灯的闪烁控制。当打开后,当按左边键时,LED灯闪烁一次;当按中间键时,LED灯闪烁两次;当按右键时,LED灯闪烁三次。-avr microcontroller, M16 three keys, in the middle, long press to open and close the lights flashing control. When opened, press the left button, LED light flashes
longpressandvibration
- 高德地图定位,长按后在地图上标注点,还有震动事件-High moral map positioning, long after marked on the map point, a vibration event
IntelligentParkingOfGuLou
- android开发,高德地图定位,长按后在地图上进行标注,手机摇动事件-android development, high moral map positioning, press and after marked on the map, phone shaking event
key-long-and-short-experimental
- 飞思卡尔单片机源代码——按键长按和短按实验源代码-Freescale microcontroller source code- key long and short experimental source code