文件名称:PS2KEY-1602
介绍说明--下载内容来自于网络,使用问题请自行百度
msp430f149的PS2键盘驱动程序,并在1602液晶上显示键值,键值为单个显示,PS2键盘按键1次输出33个时钟脉冲,因此采用中断的方式读取33次,只提取最后一个字节中的数据位做键码
按键1次,实际输出3个字节数据,每个字节为11位,一个起始位(0),8个数据位,一个奇偶校验位,一个停止位(1)并且第1个字节与第3个字节数据相同,此程序提取第3个字节的数据位键值数据-msp430f149 the PS2 keyboard drivers, and in 1602 the LCD displays the key value is the single display, PS2 keyboard 1 output 33 clock pulses, so a disruption reads 33 times, to extract only the last byte data bits do keycode. key 1, the actual output 3 bytes of data, each byte is 11, a start bit (0), 8 data bits, a parity bit, one stop bit (1) and the first one byte of the first three bytes of the same data, this program extracts the first three bytes of data bit key data
按键1次,实际输出3个字节数据,每个字节为11位,一个起始位(0),8个数据位,一个奇偶校验位,一个停止位(1)并且第1个字节与第3个字节数据相同,此程序提取第3个字节的数据位键值数据-msp430f149 the PS2 keyboard drivers, and in 1602 the LCD displays the key value is the single display, PS2 keyboard 1 output 33 clock pulses, so a disruption reads 33 times, to extract only the last byte data bits do keycode. key 1, the actual output 3 bytes of data, each byte is 11, a start bit (0), 8 data bits, a parity bit, one stop bit (1) and the first one byte of the first three bytes of the same data, this program extracts the first three bytes of data bit key data
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PS2KEY-1602/
PS2KEY-1602/Config.h
PS2KEY-1602/Debug/
PS2KEY-1602/Debug/Exe/
PS2KEY-1602/Debug/Exe/PS2KEY-1602.d43
PS2KEY-1602/Debug/Exe/PS2KEY-1602.txt
PS2KEY-1602/Debug/List/
PS2KEY-1602/Debug/Obj/
PS2KEY-1602/Debug/Obj/main.r43
PS2KEY-1602/Debug/Obj/PS2KEY-1602.pbd
PS2KEY-1602/main.c
PS2KEY-1602/path.txt
PS2KEY-1602/PS2.h
PS2KEY-1602/PS2KEY-1602.dep
PS2KEY-1602/PS2KEY-1602.ewd
PS2KEY-1602/PS2KEY-1602.ewp
PS2KEY-1602/settings/
PS2KEY-1602/settings/PS2KEY-1602.cspy.bat
PS2KEY-1602/settings/PS2KEY-1602.dbgdt
PS2KEY-1602/settings/PS2KEY-1602.dni
PS2KEY-1602/Config.h
PS2KEY-1602/Debug/
PS2KEY-1602/Debug/Exe/
PS2KEY-1602/Debug/Exe/PS2KEY-1602.d43
PS2KEY-1602/Debug/Exe/PS2KEY-1602.txt
PS2KEY-1602/Debug/List/
PS2KEY-1602/Debug/Obj/
PS2KEY-1602/Debug/Obj/main.r43
PS2KEY-1602/Debug/Obj/PS2KEY-1602.pbd
PS2KEY-1602/main.c
PS2KEY-1602/path.txt
PS2KEY-1602/PS2.h
PS2KEY-1602/PS2KEY-1602.dep
PS2KEY-1602/PS2KEY-1602.ewd
PS2KEY-1602/PS2KEY-1602.ewp
PS2KEY-1602/settings/
PS2KEY-1602/settings/PS2KEY-1602.cspy.bat
PS2KEY-1602/settings/PS2KEY-1602.dbgdt
PS2KEY-1602/settings/PS2KEY-1602.dni
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.