搜索资源列表
key_scan.c
- 按键扫描:按下,弹起,短按,长按,不用延时,实时性好,反应快-key scan
scan_key
- 这是一个扫描16个键并可返回32个键号的小MCU程序,它对16上按键分单按和长按两种情况做区分.-This is a scan 16 keys can be returned to the 32 keys of the small MCU procedures, its key points on the 16- and-under by two of the heart.
Test_BtnDown
- 水晶按钮,按键加速处理,长按按钮持续增减数字-Crystal buttons, keys accelerated processing, press the button for the digital change
dian
- 电子琴,89c51,89c52,按键大约发声三秒,其中按任意键,则发不同声音。发音时长可任意调节。-Keyboard, 89c51, 89c52, sound button about three seconds, which press any key, then send different voices. Length can be adjusted when the pronunciation.
qiangda
- 本例程为一抢答器;其中主持人操控S12与S13两个按键。选手共六位,分别操控S6--S11中的一个按键。当主持人按下抢答开始按键S13后,倒计时开始,计时5s。此后最先按下按键的选手号码将显示与数码管上。后来按下的将无显示。若五秒计时结束后,再按下按键也不会显示。若主持人没有按开始键,就有选手抢答,则视为犯规。此时犯规的选手号码将被显示于数码管上(最多显示五位犯规选手)同时,蜂鸣器发出长笛声报警,数码管全亮。而当主持人按下清零键S12后,一切状态均恢复,可以开始新一轮的抢答。-This rout
key0716
- 支持长按短按组合键的独立按键轮询扫描程序-Supports long press the key combination by independent polling scanner buttons
4_KEY_LED_Change_DCO
- MSP4300G2553单片机的CPU时钟来源于数控振荡器 DCO 。 CPU通过长延时控制P1.6的LED闪烁亮灭 。 单片机识别P1.3机械按键以后,改变DCO参数,依次设置为1M,8M,12M和16MHz,可观察到闪烁频率增加。-CPU clock source MSP4300G2553 microcontroller in the numerical control oscillator DCO. CPU by long delay control P1.6 LED flas
key_module
- 单片机,按键模块,有防抖,实现,短按,长按,等接口,高复用性-Microcontroller, key module, there are image stabilization, implementation, short press, long press, and other interfaces, high reusability
7_4_Key_Long_Short_Moore
- 状态机思想之moore状态机 实现按键的长击与短击-Moore state machine state machine to achieve the key idea of a long strike and the short strike
8_2_TouchPad_Long_Short_Mealy
- 状态机思想之mealy状态机实现触摸按键的长击、与短击-Mealy state machine state machine Thought touch keys to achieve long strike, and the short strike
key-function
- 按键(短按、双击、长按功能),MCU母体HT46R064-Button (short press, double, long press function), MCU parent HT46R064
Multifunction-Clock-program
- 此电子钟由数码管,C8051F330单片机,蜂鸣器,两个按键组成。可实现分秒时调节(双闪),闹钟设置(三闪),日期设置(双闪小数点不闪)。任意键关闭闹钟。闹钟,时间,日期,单键切换显示。调时长按加速累加,三十不动自动复位。-Theelectronic clockbydigital, C8051F330microcontroller,buzzer,twokeycomponents.Adjustmentcan be achieved whenthe minutes and seconds(doub
segment
- 运动计时器设计 (1)在LED数码管上显示分钟和秒,最长的计时时间为59:59。 (2)自定义清零按键,按下该按键,在液晶显示屏上显示的时间为00:00。 (3)自定义启动/暂停按键,按下该按键,则启动或暂停计时器计时。其功能与实际的计时器的开始/停止按钮功能相同。 -Motion Timer Design (1) shows minutes and seconds on the LED digital tube, the longest time period of 59:59
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
clock
- 利用STM8S制作的的数字时钟,可以调时分秒,两只按键控制,长按进入调时间,短按恢复。-Making use of STM8S digital clock, can be adjusted when the minutes and seconds, two control buttons, long press to enter the transfer time, short press to resume.
Exp15_FSMKEY
- 基于STM8S105C6T6 的FSM按键扫描,完全状态机,支持 按下 长按 连发 抬起,最多256个按键。超小RAM-STM8S105C6T6 of FSM based key scanning, complete state machine, press the press and bursts of support to lift up to 256 keys. Ultra-small RAM
avr_keypad
- 1.基于FSM(有限状态机)扫描独立按键,并带 长按 功能; 2.基于FSM扫描4*4矩阵键盘。-1. Based on FSM (finite state machine) scan separate buttons, and with a " long press" function 2. Based on the FSM 4* 4 matrix keyboard scanning.
keys
- 实现按键的单击,双击,长按等功能,简单好用,就给大家分享了-Realize the button click, double-click, long according to the function, such as simple to use, is to share
Buttons
- 按键按下、弹起、长按、组合算法,中断延时消抖.-Button is pressed, bounce, long press, the combination of algorithms, interrupt latency jitter elimination.