搜索资源列表
20063161712468
- 序(约延时8ms)后再回到按键查询状态,不断循环;有按键时,LED动态显示子程序作为按键防抖延时被连续调用二次(约延时16ms),待按键处理程序执行完后,再回到按键查询状态,同时兼顾了按键扫描取值的准确性和LED动态显示的稳定性。秒定时采用定时器T0中断方式进行,60秒计数由定时-sequence (about 8ms delay) to come back button inquiries and continuously cycle; When a button, LED dynamic d
presskey
- 《多按键处理程序 》,适用于工控按键处理 -"multi-key handling procedures" applicable to industrial processing keys
p16demo
- PIC16代码示例包含IIC程序,AD采样,液晶显示\\按键处理-PIC16 code example contains IIC procedures, AD, LCD \\ handling keys
yinyuebofang
- 一、 使用键盘显示接口芯片8279接收按键键值,并在七段数码管上显示出来,通过判断键值进入相应音乐播放处理程序。在音乐播放程序中,使用定时器/计数器8253的计数器2,使其工作在方式¬ ¬ 3—方波发生器,通过查表依次取出乐曲频率值送入计数器作为计数初值,经out2输出方波,驱动扬声器发出不同频率的声音,在每个音阶之间加入相应的延迟时间,即实现了音乐的播放。
time
- 工作环境为: 按键采用中断方式 IIC总线接通 P0口上拉 LS244使能 接通数码管 K0:确定键,用来确定调节好的时钟或者闹钟 K1:时钟调节键,用来选择时钟调节的位置 K2:调节键,用来使选中的数字发生改变 K3:闹钟调节键,用来选择闹钟调节的位置 接通电源后可能需要按一次K4(复位键),时钟才会开始走动,此时是一个默认的时间,使用K1来选择需要更改的数字的位置,然后按K2调节,所有的数字都调节好后按K0确定,则时钟会按照新调节好的数据开
AV
- 一套全遥控6声道AV机的汇编程序,该程序已经商业化的,里面包含的范围很广,主程序包含的分支子程序包括: 1 红外线遥控处理程序 2 I2C协议 3 PT16311驱动程序 4 复杂的按键处理程序 5 A/D转换程序(只用1个LM358组成的A/D转换器) 6 文字显示模块 7 电平频谱显示子程序 8 M62429子程序
shubiao
- 学习如何在我们的窗口过程函数中处理鼠标按键消息。示例程序演示了如何等待左键按下消息,我们将在按下的位置显示一个字符串。 -we learn how to process the window function handling the mouse button news. The sample program demonstrated how to press the button for news, we will press the location of a string.
显示数字、按键发声试验程序
- 一个比较简单的试验程序,通过该程序可以学习数码管的字符显示、动态刷新、蜂鸣器发声、中断方式按键的处理。-a relatively simple test procedure, the procedure can learn from the digital control of the characters, dynamic updating, the buzzer and interrupt handling keys.
time
- 一个中断处理程序,要求在主程序运行过程中,每隔20秒响铃一次,同时在屏幕上显示信息”The bell is ring!”,按键后恢复原状。-An interruption of treatment procedures, the requirements at the main program is running, every 20 second ring time, at the same time information on the screen " The bell is r
zhongduan
- 实现一个中断处理程序,要求在主程序运行过程中,每隔20秒响铃一次,同时在屏幕上显示信息“The bell is ring!”,按键后恢复原状。-Achieve an interrupt handling procedures, the requirements at the main program is running every 20 seconds ringing once, at the same time information on the screen " The bell
jianpansshibie
- 4×4矩阵键盘识别处理,键盘处理程序的任务是:确定有无键按下,判断哪一个键按下,键的功能是什么;还要消除按键在闭合或断开时的抖动。两个并行口中,一个输出扫描码,使按键逐行动态接地,另一个并行口输入按键状态,由行扫描值和回馈信号共同形成键编码而识别按键,通过软件查表,查出该键的功能。 -4 × 4 matrix keyboard recognition processing, the keyboard handler task is: to determine whether
mdisp_key
- 自认为比较好的按键处理程序 在中断内检测,主程序中处理-disp_key
MicroHeater
- 三星9454汇编写的加热器的程序框架,包括按键扫描,按键处理,中断时基信号,定时功能全部实现-S3C9454 the heater for the conductor,the dunction is contain the key scan program,then time interrupt,it is all ok
SBQ
- DIY示波器资料,主控ATMEGA128,ATMEGA16 内含原程序,主控电路图,信号处理电路图,电源电路图,电平转换电路图,按键显示电路图,-DIY oscilloscope data, master ATMEGA128, ATMEGA16 containing the original program, the master circuit, signal processing circuit, power supply circuit, level conversion circuit
KEY
- 好的历程 按键处理代码,蜻蜓点水式颠覆传统教科书按键技术, 可识别单键组合键 , 真正提高程序效率 值得推鉴使用。有详细的注释。-A good journey Some key processing code, touched the traditional textbook pressed key technology, can identify a single bond key combination, really improve the efficiency of the progra
PS2--digital-display
- 用外部中断读取PS2键盘的数据 并在数码管上显示,此程序只处理数字键盘。其余按键功能用户可以自行扩展,为了程序简单便于阅读和学习,程序中没有使用奇偶校验, 校验程序请自行添加-External interrupt data read PS2 keyboard and display on the digital tube, this program only handles numeric keypad. Remaining keys function the user can expa