搜索资源列表
矩阵键盘键值lcd显示演示程序
- 此程序为单片机开发过程中的按键扫描程序。采用汇编 语言编写,经调试通过。-procedure for microcontroller development process button scanning procedures. Using language compilation, debugging through.
单片机坐标定时器实验
- http://www.edacn.net/cgi-bin/forums.cgi?forum=7&topic=9127下,则R3~R0的输出信号中会有一个为1,但我们还是是无法确定哪一个键被按下,必須要从R3 ~R0 的输出信号与C3~C0的扫描信号共同決定那个按键被按下. 编写VHDL的构思: 外部接口包括: a. INPUT脚 : CLK , R3~R0. b. OUTPUT脚 : C3~C0 , DATA3~DATA0(辨别出的按键值). -7topic http://ww
8255按键练习
- 通过8255查询键值,显示不同的数字。k1显示1,K2显示2,K1和K2显示3,如此类推。最多能显示7。-8,255 inquiries through the keys, show different figures. K1 shows a, K2 showed 2, K1 and K2 showed three, and so forth. The most that can be shown 7.
B03
- 利用8031单片机串行口,实现两个实验台之间的串行通讯。其中一个实验台作为发送方,另一侧为接收方。发送方读入按键值,并发送给接收方,接收方收到数据后在LED上显示。-use 8031 serial port to achieve a test between two serial communications. One experiment Taiwan as the sender, on the other side of the receiver. Send to read keys val
仿进口温控器的按键程序
- 说明:这个程序与温控仪设置方式一样。SET选择设置模式;LEFT键选择需要设置的位;UP键加置数,如果按住UP键不放就自动向上计数,最大值999;DOWN键减置数,如果按住DOWN键不放就自动向下计数,一直到0。待设置的位是高亮显示的。-Note : This temperature control procedures and the same instrument setup. SET select Settings mode; LEFT button to select the need
auto_KEY_HT
- 此为按键部分的,读取按键值是否有按键判断部分函数-this as part of the button, reading keys value judgment whether some function keys
auto_KEY_HT_ISR
- 此为按键部分的,读取按键值是否有按键判断部分函数-this as part of the button, reading keys value judgment whether some function keys
ps2
- 这是一个用c编的程序,程序用于52单片机驱动电脑键盘, 是ps/2接口,用串口发送按键值,可用串口调试助手调试,本程序已经调试通过,用的kell编译的。-This is a use of c-series procedures, procedures for the 52 single-chip-driven computer keyboard is ps/2 interface, use the serial send button values, available serial port
key_scan
- 一种很实用的去抖动、按键扫描驱动程序,能够正确的读取到按键值-A very practical to jitter, key scan driver can correctly read the key value
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
keykey
- 用反转法实现快速高效的4*4键盘扫描,并通过串口将按键值输出-Inversion method with fast and efficient implementation of the 4* 4 keyboard scanning, and send out the key value through the serial port
ds1302
- :PS2键盘、DS1302的工作原理和程序的编写 1、 AVR单片机外部中断的介绍 2、 PS2键盘的工作原理 3、 编写程序读取PS2键盘的按键值并在1602液晶上显示 4、 DS1302的工作原理 5、 编写程序控制1302工作并在1602液晶上显示时间 -: PS2 Keyboard, DS1302 works and procedures of the preparation of 1, AVR MCU external interrupt presentatio
2.按键控制舵机
- 按键控制舵机,通过检测按键的值确定PWM(The button controls the steering gear and determines PWM by detecting the value of the key)
单片机读取矩阵键盘并在4LED上显示按键值
- 单片机读取矩阵键盘并在4段数码管上显示按键值(SCM read matrix keyboard, and display button value in the 4 section of the digital)
LCD1602显示带按键键值
- 利用LCD1602显示带按键键值,每当按下一个按键的值,1602会显示按键对应的键值(Use LCD1602 display with key values, each press a key value, 1602 will display the key corresponding to the key value)
4.按键程序(上拉输入,下拉检测,4个)
- STM32实现4个按键功能,返回键值,便于操作(STM32 realize 4 key function, return key value)
按键
- 简单高效的扫描4*4 16个按键,获取相应的键值。实现长短按功能(Simple and efficient scan 4*4 16 keys, access to the corresponding key. Realize the function of length and length)
key_signal
- 通过信号异步通知应用读取按键,解决主动读取。(Through the signal asynchronous notification application read button, solve the initiative to read.)
C51之按键与串口调试
- 通过单片机与上位机进行通信,实现上位机实时显示用户按下的按键值(Through MCU and upper computer communication, the host computer can display the button value pressed by the user in real time.)
按键复用计数
- 利用at89c51写的一个简单的按键计数,支持按键复用,短按计数+1,长按计数加10。数码管显示当前值。如果计数超过数码管显示最大值,计数清零