键盘每列依次扫描,读入键盘的行状态,判断是否有键按下,有键按下时,计算出该键在键码,以此控制数码管显示
标签: 键盘
上传时间: 2017-09-19
上传用户:yd19890720
16*16键盘51单片机C语言扫描程序,数码管显示按键值
上传时间: 2013-12-27
上传用户:huql11633
使用单片机keilc51编程,利用单片机定时功能读取键盘扫描码,从而利用数码管显示.
上传时间: 2017-09-25
上传用户:xinyuzhiqiwuwu
44矩阵键盘扫描程序。。。附仿真图。。初学者会有用的。。。
上传时间: 2017-09-25
上传用户:541657925
单片机的矩阵键盘扫描程序,学习单片机的矩阵键盘的好助手!
上传时间: 2017-09-26
上传用户:hustfanenze
vhdl数字设计实验,可以实现4x4小键盘的动态扫描
上传时间: 2017-09-26
上传用户:shus521
4*4键盘扫描程序,基于80C51,的KEIL IDE 7.10
上传时间: 2013-06-09
上传用户:wmwai1314
键盘显示通常采用以下三种方式 1采用并行接口的键盘显示专用芯片8279,8279外匪元器件多c显示驱动、译码等)、占用电路板面积大、综合成本较高 在中小系统中常常大材小用.2采用通用并行I/(3芯片扩展c如8255等】.需要驱动显示.键盘显示扫描占用大量CPU时间.3 采用带FC总线的键盘显示芯片.本文的MAX6955驱动器采用Maxim 公司推出的带键盘扫描、LED 显示, 具有400kbps、FC兼容白勺2线串行接口.可大大简化设计。
上传时间: 2013-11-02
上传用户:时代电子小智
键盘扫描
标签: 扫描程序
上传时间: 2013-10-09
上传用户:yanqie
针对目前使用的RS232接口数字化B超键盘存在PC主机启动时不能设置BIOS,提出一种PS2键盘的设计方法。基于W78E052D单片机,采用8通道串行A/D转换器设计了8个TGC电位器信息采集电路,电位器位置信息以键盘扫描码序列形式发送,正交编码器信号通过XC9536XL转换为单片机可接收的中断信号,软件接收到中断信息后等效处理成按键。结果表明,在满足开机可设置BIOS同时,又可实现超声特有功能,不需要专门设计驱动程序,接口简单,成本低。 Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
上传时间: 2013-10-10
上传用户:asdfasdfd