搜索资源列表
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
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
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
anroid
- 使用sqlite实现手机通讯录 a) 要求使用SQLite数据库保存通讯录,使得每次重新运行程序均能显示当前联系人列表; b) 主界面包含一个联系人列表,每一项显示联系人名称和联系方式; c) 主界面应包含一个添加按钮,单击时添加新的联系人; d) 单击任意一个列表项可以修改联系人信息; e) 长按任意一个列表项可以删除该联系人信息 -Use sqlite to phone contacts a) require the use of the the SQLite dat
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.
pressure-test
- 基于msp430f149单片机,在12864液晶屏上实现可调智能时钟,4个控制键,K1为菜单键,K2为确定键,K3为加键,K4为减键,K2长按为退出键-Adjustable Smart Clock 12864 LCD msp430f149 microcontroller, four control keys, K1 menu key, K2 is the OK button, K3 plus key down key, K4, K2 Press exit key
LONGKYE16F505
- 本实例用PIC16F505单片机, 按键定位脚:RC3,RC4. LED指示灯输出:RC0 RC1 RC2 实现功能:短击RC3脚按键,RC0上的LED亮,RC1,RC2上的LED不亮。长按RC3上的按键,RC1,RC2上的LED亮,RC0上的灯灭。 RC4上的按键作为关机键(不管是短击状态还是长击状态都可以关机)。 -PIC16F505 microcontroller used in this example, the key positioning feet: RC3,
OnLongClickListener
- android按钮的长按事件例子。。适合于初学者-android button press event examples. . Suitable for beginners. .
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
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
key
- 单个按键的长按、短按、多击、无击等功能,实现分页显示-A single button press, press, multi-strike, no strike, etc.
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
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.
Electrical-Piano
- 电子钢琴程序,使用java中的midi class发声。有少许bug,长按按键声音会不正常-Electronic piano, the use of java in the midi class sound. A little bug, long press the button sound will not normal
Test_BtnDown
- 水晶按钮,按键加速处理,长按按钮持续增减数字-Crystal buttons, keys accelerated processing, press the button for the digital change
key-function
- 按键(短按、双击、长按功能),MCU母体HT46R064-Button (short press, double, long press function), MCU parent HT46R064
Longpress
- 按键长按实现功能,按键去抖动,可更改控制功能-Press the button to achieve functional, buttons to shake, you can change the control function
usart-_KEY
- stm32 定时器按键,能识别长按和组合按键,通过串口发送出来-stm32 timer button can identify long press and combination of buttons to send out through the serial port