文件名称:PS2KEY-1602
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
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
...........\Config.h
...........\Debug
...........\.....\Exe
...........\.....\...\PS2KEY-1602.d43
...........\.....\...\PS2KEY-1602.txt
...........\.....\List
...........\.....\Obj
...........\.....\...\main.r43
...........\.....\...\PS2KEY-1602.pbd
...........\main.c
...........\path.txt
...........\PS2.h
...........\PS2KEY-1602.dep
...........\PS2KEY-1602.ewd
...........\PS2KEY-1602.ewp
...........\settings
...........\........\PS2KEY-1602.cspy.bat
...........\........\PS2KEY-1602.dbgdt
...........\........\PS2KEY-1602.dni