搜索资源列表
ucosISR
- 基于UCOS的中断处理程序 当按键按下时,相应的外部中断触发产生 执行处理程序-interrupt handling procedures when pressing the button, the corresponding external interrupt trigger implementation procedures have
UART_leochin
- 2个51单片机实现UART通信 程序分master和slave2个部分。 master等待按键(SW1),按键按下后将数据发送到slave单片机,slave单片机中断接受查询发送,将收到的数据发送回master,master中断接受,收到后将LED灯点亮。-two 51 MCU UART communication procedure, and the master slave2 parts. Wait for the master keys (SW1), press the butto
c8051f020key
- 目标器件: C8051F02x 编译工具: Silicon Laboratories IDE 程序说明: 此程序动态扫描键盘,当有按键按下时,将此键转换成对应的数字键值,同时蜂鸣器响一声-target Components : C8051F02x compiler tools : Silicon Laboratories IDE procedures Note : This procedure dynamic scanning keyboard, When a button press,
KEYBOARD
- 51的4*4键盘驱动当按键按下时返回一个值,且只在按下键时返回一次该值,之后返回0;无按键时返回0;包含消抖功能,在键盘的下降沿触发。 基于keil平台
jianpan
- 一个4*4键盘程序,当有按键按下时将在数码管上显示出按下的字符
8行9列按键驱动,多键扫描(linux)
- linux下的按键驱动,定时轮训的方式。8行9列,能扫描所有同时按下的键。采用linux输入子系统。
2
- 只要流程及功能:判断按键是否按下、是否弹 起、是否多按键按下、去抖、按键值送给KEYIN-As long as the flow and function: to determine whether the button press, whether the shells starting Whether or not many buttons pressed, go shake, push the value of a gift KEYIN
EXP4_sec
- 秒表 4个7数码管中的任何一个显示任意按键按下的次数。初始值为0,当计数到9时,下一次数值为0。利用Verilog HDL语言,编程实现上述功能。-Stopwatch
keyprogram
- 按键按下即发出声音,同手机功能一样。一确定按键真的是按下的。-Press the button to confirm that the issue of sound, like with the phone functions.
shumaguanshuzizhong
- 数字钟,分别在6位数码管上显示分时秒,并且可以通过第1个独立按键(k1)进行时间调整,即如果按键按下超过0.5秒则进行时间分秒的调整。-Digital clock, respectively, in the six digital tube display time-seconds, and can be the first one by an independent keys (k1) for time to adjust, that is, more than 0.5 seconds if
mTouch
- 用c语言在单片机上编写的触摸按键程序,实现按键按下,相应的LED灯亮的功能-Microcontroller using c language touch buttons on the preparation of procedures to achieve key pressed, the corresponding LED lights feature
键盘显示
- 4*4键盘;进行扫描按键;当有按键按下后;将其在数码管进行显示。(Keyboard scan and display)
LCD1602显示带按键键值
- 利用LCD1602显示带按键键值,每当按下一个按键的值,1602会显示按键对应的键值(Use LCD1602 display with key values, each press a key value, 1602 will display the key corresponding to the key value)
12864显示按键键值
- 本程序是430的12864显示函数与驱动,可以显示按键按下的键值,可以实时显示(This program is 430 of the 12864 display function and driver, you can display the key press key, you can real-time display)
按键按下数码管次数加一
- 按键按下,数码管加一。数码管为两位,按键有延时消抖。(When press down the button,the number displayed on nixie tube add one.)
2.实体按键
- 使用efm32检测按键是否被按下,使用扫描方式(Use efm32 to check if the button is pressed, using a scan)
记录开机后按键第一次按下后抬起的时间
- 中断配置按键(Interrupt configuration key by interrupting)
实验十六 矩阵按键数码管存储
- 按下按键后,经过51单片机处理后,显示在8个数码管上,并且存储。(After pressing the button, after 51 single chip processing, it is displayed on the 8 digital tubes and stored.)
1.步进电机(按频率)
- 步进电机 1. 实现的功能:按键KEY0控制两个电机的使能,按键WK_UP控制电机的正反转,按键KEY1控制电机的加速,按键KEY2控制电机的减速。初始脉冲为5Hz,每加速一次,即按键按下一次增加1Hz,减速也是减小1Hz。 2. 连接方式:电机1脉冲接PF6,方向接PF4,使能接PF10;电机2脉冲接PF7,方向接PF5,使能接PF9。 3. 程序:见源代码/1.步进电机(Stepper motor 1. realization of the function: the key KEY
STC15-使用ADC做电容感应按键
- 用STC15系列单片机实现电容感应按键,用ADC进行电压检测判断是否有按键按下!有说明文档个电路介绍!!(The capacitance induction button is realized by STC15 series single chip microcomputer, and the voltage is detected by ADC to judge whether the button is pressed or not. There is a descr iption of