文件名称:PS2keyboard
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 23kb
- 下载次数:
- 0次
- 提 供 者:
- sn***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
基于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
...............\PS2KBTEST
...............\PS2KBTEST.C
...............\PS2KBTEST.hex
...............\PS2KBTEST.lnp
...............\PS2KBTEST.LST
...............\PS2KBTEST.M51
...............\PS2KBTEST.OBJ
...............\PS2KBTEST.Opt
...............\PS2KBTEST.plg
...............\PS2KBTEST.Uv2
...............\PS2KBTEST_Opt.Bak
...............\PS2KBTEST_Uv2.Bak
PS2键盘解码实验
...............\PS2KBTEST
...............\PS2KBTEST.C
...............\PS2KBTEST.hex
...............\PS2KBTEST.lnp
...............\PS2KBTEST.LST
...............\PS2KBTEST.M51
...............\PS2KBTEST.OBJ
...............\PS2KBTEST.Opt
...............\PS2KBTEST.plg
...............\PS2KBTEST.Uv2
...............\PS2KBTEST_Opt.Bak
...............\PS2KBTEST_Uv2.Bak
PS2键盘解码实验