搜索资源列表
Single-key-program
- 该程序为单个按键实现短击、长击和双击,基于状态机编程思想。-The program a short strike, the long strike and double-click a single button, the state machine-based programming ideas.
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
key-long-and-short-experimental
- 飞思卡尔单片机源代码——按键长按和短按实验源代码-Freescale microcontroller source code- key long and short experimental source code
key-long-press-the-short-effect
- stc89c52实现按键长按短按效果,很不错的 -stc89c52 key long press the short effect, very good
key-long-press
- 使用STC89C52单片机,显示按键长按和短按效果,按键加减数字,多个数码管显示,使用定时器做数码管动态扫描 并区别长按短按效果,完全可以应用的实际生产中。-Using STC89C52 microcontroller, display the key long press and short press effect, the key addition and subtraction digital, multiple digital tube display, use a timer to
KeyTest
- 一个C写的单片机的简单的按键测试程序,分长按短按-C write MCU simple key test program, sub-long press short press
anjian
- 这个程序实现的功能是判断按键长按,并且返回键值,从键值开始依次接通或者关闭控制的输入输出口。-This program is a key function of the realization of the judge long press, and return key value, from the key value started in turn on or close control of I/o port.
KEY
- 51单片机6个io口21个按键的设计源程序,并且具有单击双击,长按功能!-51 microcontroller 6 io port 21 key design source, and double-click-click, long press function!
dianfanbao
- 电紫砂煲/电饭煲程序4按键带预约定时功能,使用状态机思路编程,按键具有短按长按连续功能且按键判断程序定时预约倒计时不影响其他程序的运行-Electric purple clay pot/cooker program with key booking function, the idea of programming using the state machine, the keys have a short press countdown timer long con
key
- 按键状态机程序,可实现按键按下,长按,弹起三种状态,在定时中断里每隔10MS调用-Key state machine procedures, can be the key press, long press, bouncing three states where the timer interrupt every 10MS call,
0-999-counter
- 0-999 counter,2按键加减,短按变1,1以上长按变10--999 counter,2 buttons add or minus,change 1 unit with press shortly,change 10 units with hold the button long than 1s.
status-keyScan.rar
- [原创]基于状态机的按键对时程序,实现(长按,短按,自动连发)等功能,注释详细.,When the program state machine-based keys (long, short, automatic bursts) function, detailed notes.
CMAJ2
- 基于MSP430F425的两个触摸按键短按,长按和滑动三个动作的识别-Based on MSP430F425 two touch buttons short press, long press and slide the identification of the three actions
weigou
- 通过按键来来清零单片机的看门狗,若长时间不按键,程序会自动复位-Through the button to reset the watchdog, if long time no button, the program will automatically reset
key
- 基于飞思卡尔MC9S08AC16写的按键程序,包括按键长按、连按-Key procedures based on Freescale MC9S08AC16 written, including key long press, even the press ...
meijinchenxun
- 一、电锁设置方法:(出厂为电锁端直接接电锁) A:J3的1脚和2脚相接、电锁端直接接电锁 (J2的3脚和2脚相接、电锁端接常闭锁 ;J2的2脚和1脚相接,电锁端接常开锁) B:J3的2脚和3脚相接、电锁端输出为开关信号、电锁1的“+”极可接电源控制箱的PUSH端 二、门禁机的开门使用方法: 只有被受权的卡才可开门,刷卡时即可听到清脆的长鸣一声嘀即可开门.当是短鸣一声嘀或嘀嘀嘀时是未授权的卡 当听到五声嘀-嘀-嘀-嘀-嘀的声音时则禁止再次刷卡,过五分钟后即可
S3F84A5_GA306A_Applation
- 这是饮水机控制器里面可以应用的源代码,1:使用S3F84A5控制芯片; 2:里面有按键长按,短按处理事件 3:使用S3F84A5里面的PWM功能-1:short press the set key,power is on or off state 2:when the power is on,short press the hot water key,turn on the hot water valve short press it again,shut off the ho
button
- 单片机外接独立按键长按和短按功能,使用汇编语言实现不同的功能。-Microcontroller external independent key long press and short press the function, the use of assembly language to achieve different functions.