PS2keyboard

所属分类:单片机开发
开发工具:Visual C++
文件大小:23KB
下载次数:6
上传日期:2011-10-19 08:48:33
上 传 者Cinatas
说明:  基于C的PS2键盘解码实验源码,属于51单片机的范畴,注意:如SHIFT+G为12H 34H F0H 34H F0H 12H,也就是说shift的通码+G的通码+shift的断码+G的断码,当中断10次后表示一帧数据收完,清变量准备下一次接收,当键松开时不处理判码,如G 34H F0H 34H 那么第二个34H不会被处理,再次注意:若晶振速度太高可以在这后加小的延时。
(C-based PS2 keyboard decoding experimental source, are 51 areas of SCM, Note: SHIFT+ G to 12H 34H F0H 34H F0H 12H, that shift the pass code+ G' s pass code+ shift+ G code of the broken-off code, when the interrupt 10 times that a data collection finished, ready for the next variable to receive clear, when the key is released, does not deal with sub-codes, such as G 34H F0H 34H 34H then the second will not be processed again Note: If the high crystal speed can be added in this small delay.)

文件列表:
PS2键盘解码实验\KBCODE.H (1561, 2009-07-17)
PS2键盘解码实验\PS2KBTEST (11746, 2010-01-04)
PS2键盘解码实验\PS2KBTEST.C (5445, 2009-12-15)
PS2键盘解码实验\PS2KBTEST.hex (3158, 2010-01-04)
PS2键盘解码实验\PS2KBTEST.lnp (50, 2010-01-04)
PS2键盘解码实验\PS2KBTEST.LST (12334, 2010-01-04)
PS2键盘解码实验\PS2KBTEST.M51 (14231, 2010-01-04)
PS2键盘解码实验\PS2KBTEST.OBJ (13830, 2010-01-04)
PS2键盘解码实验\PS2KBTEST.Opt (1248, 2010-01-04)
PS2键盘解码实验\PS2KBTEST.plg (568, 2010-01-04)
PS2键盘解码实验\PS2KBTEST.Uv2 (2169, 2009-12-15)
PS2键盘解码实验\PS2KBTEST_Opt.Bak (1451, 2009-12-15)
PS2键盘解码实验\PS2KBTEST_Uv2.Bak (2140, 2009-07-18)
PS2键盘解码实验 (0, 2011-08-23)

近期下载者

相关文件


收藏者