搜索资源列表
dyy
- 简易数控直流电源 摘要:本实验设计了一个以单片机89C51为基本控制核心的简易数控直流电源。.该设计包括直流电源输入及输出两部分,可完成0~15V之间各不同幅值的电压的输出,能够预置数,能够自动扫描输出电压并直接显示到LED数码显示管上,并可扩展输出三角波等波型。其中电压输出部分,既可手动的每按”+””-”键一下进行每0.1V大小的上下调整,也可长按”+””-”键使其自动的递增或者递减,直到需要的数值。预置数时用切换键切换预置个位或小数位,按”+””-”键进行微调。单片机编程部分是基于WAV
src-V0.1.1-2012-02-041701
- 程序员:钱树勇 采用定时中断检测4*4按键;识别长按短按,按压按键3秒默认为长按模式;具有松手检测功能。采用定时扫描模式,无死循环代码,所以更少占用Cpu资源-Timer interrupt to detect 4* 4 buttons identify long press short press, press the button for 3 seconds by default long press mode let go of detection. Timing scan mode,
button.rar
- 基于嵌入式linux下的button按键驱动实现代码。利用状态机实现去抖动、短按及长按键等功能。具有参考价值。,Under the button based on embedded linux key driver to achieve the code. Using the state machine to achieve to jitter, short and long key press functions. With a reference value.
51-SCM--designs-button
- 51单片机按键十几种不同设计,包括单击双击、长按短按、独立按键、矩阵按键等-51 SCM dozen different buttons design, including double-click, press and short press, independent keys, matrix keys, etc.
AD_KEY
- 本资料为基于单片机的AD按键的程序。能用单IO口实现多按键处理,实现了短按,长按和组合键等功能。本程序的编译器为CVAVR,程序可移植性好,能轻易的移植到其他带ADC的单片机上去。-This information is based on single-chip AD button procedure. Can achieve single-IO I deal with many keys, according to achieve short and long by a combination
danjianfuyong
- 单片机一个按键三个功能:长按、短按、双击。 原创单键复用程序 绝对好用-SCM original program is absolutely easy to use with one-button re-
Sample_1
- 工业生产气啤机控制程序,带延时倒计时功能,手动调节延时时间,按键短按加减和长按连续加减;啤机工作时长按按键,然后继电器吸合使气啤机工作,直到倒计时完成,继电器自动断开,如果中途松开按键继电器也会断开,防止在气啤机下压过程发生异常,松开手就自然断开继电器。程序做了详细注解。本例已在keil 4里成功编译运行,头文件里的delay,display 需读者完成。-Gas beer machine control program of industrial production, with a dela
6in1
- FM8P53 mcu 的5in1 无线语音报警器 产品功能 1.语音提示 A.开锁:提示欢迎词。 B.左转弯:提示“转弯请注意”。 C.右转弯:提示“转弯请注意”。 C.关锁:提示欢送词。 2.寻车 使用遥控寻车。 3.震动防盗 当锁头处于关闭时: 按下遥控开启键就开启了防盗功能。 按下遥控关闭键就关闭了遥控功能。 当报警音输出时,长按静音键可关闭报警音。 4.闪光灯 当转弯开关接通时,同时输出转弯语音和闪光信号。
shuziclock
- 长按 键3s 进入调时状态,此时显示分的2个数码管闪烁,这时可进行加减调时,再按模式键,可看到显示时的2个数码管闪烁,可对时进行加减调整。再按模式键退出调整状态,进入正常工作状态。-Button to enter the transfer length when the 3s state at this time showed that two-point digital control blinking, then addition and subtraction can be transfe
duan1key
- 89C51单片机的c语言写的,用LED指示一个按键是长按还是短按,长按时候 不应该改变短按时候的 功能,从LED指示可以看出来-89C51 microcontroller c language written instructions of a button with LED is the long or short according to according to length by the short time should not be changed by the time the f
C8051F930ButtonForPca
- 在C8051F930单片机上,利用端口匹配和PCA实现按键的长按、短按功能。-In the C8051F930 microcontroller, using the port matching and PCA to achieve a long button press, short press functions.
BUTTON
- 程序匠人的一片有关于按键的文章,十分经典,按键的规划,分类,"长按"“短按”-Program artisans an article on the button is very classic, key planning, classification, " long press" " Short Press" and so on
IR_REMOTE
- 基于8051核的红外遥控解码软件,使用外部中断1和定时器,通用性强,占用很少时间,特别支持长按和重复按键。-Infrared remote control based on 8051 core decoding software, use the external interrupt 1 and timer, versatile, take up little time, particularly in support of long and repetitive button press.
button-Keycan
- 按键扫描,检测多个按键,支持长按,短按,按下,弹起检测。-Key scan, detects several buttons to support the long press, press, press, pop-up detection.
51-single-button-press-experiment
- 【STC】51单片机按键长短按实验。 含有Proteus仿真源文件。这个实验很好的展示了如何实现按键的长按、短按的返回操作。-[STC] 51 single button press experiment
PIC12F629-button-control-led-light
- PIC12F629 按键控制LED灯代码,按一次LED1高亮,按两次LED1中亮,按三次LED1爆闪,长按LED2亮,长按LED2关。-PIC12F629 button control led light Code
9.按键(单击、双击、长按)
- 单个按键实现,单击、双击、长按得不同功能(Single button implementation, click, double click, long press different functions)
MultiButton
- 一个不错的开源的单片机按键模块,有单击,双击,长按等功能,移值方便(A good open source single chip key module, there is a click, double click, long press and other functions, easy to move the value)
STC15
- STC15F2K60S2+按键+ADC+串口输出; 按键长按,短按,连按.....状态处理(STC15F2K60S2+ button +ADC+ serial output; button long press, short press, even press... State processing)
程序框架 LED KEY
- 按键处理驱动,处理了 单按键,多按键,长按,短按,持续按等功能(Key processing driver, processing single button, multi button, long press, short press, continuous press and other functions)