搜索资源列表
displayHZ
- 进行键盘扫描及键处理时,在程序中直接调用函数KeyProcess()即可。键处理函数原 型声明在头文件Key.h中,键处理函数可放在程序的任何地方,一个按键对应一个处理函 数。 该键盘扫描程序去抖动为什么不需软件延时?因为从无按键到键被按下,要进行两次 扫描,此间相当于延时去抖动。 该键盘扫描程序还有一特色:用二维数组进行按键功能处理,使程序更简单。 /*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
mcucontrolkeyboard
- 进行键盘扫描及键处理时,在程序中直接调用函数KeyProcess()即可。键处理函数原 型声明在头文件Key.h中,键处理函数可放在程序的任何地方,一个按键对应一个处理函 数。 该键盘扫描程序去抖动为什么不需软件延时?因为从无按键到键被按下,要进行两次 扫描,此间相当于延时去抖动。 该键盘扫描程序还有一特色:用二维数组进行按键功能处理,使程序更简单。 /*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
61_SpeechClock
- // 工程名称: 61_SpeechClock // 功能描述: 61板程序示例--具有语音播报功能的电子钟 // 使用61板上的三个按键控制报时和时间调整: // Key1 - 按一下播报年、月、日,再按一下播报时、分 // 长按Key1键达到1.5秒,则进入日期时间调整模式 // Key2 - 在调整模式下,使年、月、日、时、分、秒增加 // Key3 - 在调整模式下,使年、月、日、时、分、秒减小 // 涉及的库: CM
KEY
- 51单片机,健盘驱动,包括C文件和H文件,只接加到工程中使用,已经调试通过.
key.h
- 该头文件配合key.c,在main函数中调用key.c,都文件中添加key.h,使软件更清晰,一目了然
51密码锁
- 51密码锁 #include #include"intrins.h" #include"key.h" #include"xsh.h" #include"24c02.h" #define ulong unsigned long bit BJCB=0;//报警标志 XG=0,//修改密码标志位 BJ=0,//报警标志位 SJ=0;//锁键盘标志位
arm-download-98665.rar
- The OpenMAX DL (Development Layer) APIs contain a comprehensive set of audio, video, signal processing function primitives which can be implemented and optimized on various CPUs and hardware engines and then used for accelerated codec functionality.
ISD4004_7843
- 基于AT89S52单片机,驱动ISD4004语音芯片,进行录音/播音等功能,还加上了触摸屏功能和液晶显示功能,7843.h是触摸屏的驱动部分,12864.h是LCD驱动部分。key.h是4X4矩阵键盘驱动部分。-AT89S52-based single-chip, voice chip ISD4004 drive for recording/audio and other functions, also added a touch-screen LCD features and function
H.263_JPEG_MPEG2_keyprogram(basedon_C6000dsp)
- 在DSP_C6000系列环境下的,H.264,jpeg,mepg2核心程序的实现源程序-key programmer about H.264,jpeg,mpeg2
key
- 单片机按键程序,原代码提供各位参考和大家一同学习-#include <reg52.h> #include <absacc.h> #define uchar unsigned char #define PA8255 XBYTE[0x3ffc] #define PB8255 XBYTE[0x3ffd] #define PC8255 XBYTE[0x3ffe] #define COM8255 XBYTE[0x3fff] #define I
h
- 从串口接收字符,如果是l或者是L,则是锁键盘。再按下其他键,解锁键盘。-Receive character from the serial port, or if l L, the keyboard is locked. Then press the other key, unlock the keyboard.
ds18b20
- ds18b20.h ds18b20温度传感器头文件-ds18b20.h ds18b20 header temperature sensor
key.h-and-lcd1602.h
- 1602 矩阵键盘 lcd 头文件。方便使用,避免代码杂乱。-1602 matrix keyboard lcd header file.
Lab404-key
- 一个dsp28335 键盘输入的例子 慷慨赴死 从容负重难-#include "DSP2833x_Device.h" // DSP2833x Headerfile Include File #include "DSP2833x_Examples.h" // DSP2833x Examples Include File #include "ctr.h" #include "PID.h" #include "scancode.h" // Prototype
juzhenjianpanmokuai
- 矩阵键盘的基本方案思路! #include"key.h" void main() { while(1) { key_read() } }-Matrix basic program of keyboard ideas! #include"key.h" void main() { while(1) { key_read() } }
5112864
- 程序模块化设计,各部分代码请查看头文件(***.h)内容。 按键s1选模式,按键s2加,按键s3减,s4不用,调整顺序:秒,时,分,日,月,年,星期。 按s1一次,秒时间停住不动,此时按s2或s3调整秒, 再按s1,按s2或s3调整分。。。。。以此类推 对显示内容不满意请到头文件key.h中自行修改-Program modular design, each part of the code please see the header file (***.
8-key-keyboard-C-program
- 8键电子琴C程序,硬件支持:STC系列单片机 12MHz。基于AT89X51.H。适用于51单片机初学者,有详细解说-8 key keyboard C program
STEP4-KEY(H)
- 按键处理和显示,控制四位数码管,实现按键功能;按键1;功能菜单键,按键2,光标的移动,按键3,4 光标数值的加减-Key processing and display, four digital control to achieve key functions button 1 subtraction function menu key, key 2, move the cursor, the cursor keys 3,4 values
key
- 矩阵键盘的DSP28335,CCS调试成功,附加H文件即可在其他函数中调用。IO口可以采用38译码器,减少资源浪费。-Matrix keyboard DSP28335, CCS debugging success, additional H file can call in other functions. IO port 38 decoder can be used to reduce the waste of resources.
STM32基于HAL库开发矩阵按键设计
- 文档包括key.c和key.h以及按键的原理图,适用于各种引脚接口。