文件名称:wuxianyaokongdiannao
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Windows] [程序]
- 上传时间:
- 2013-06-26
- 文件大小:
- 285kb
- 下载次数:
- 0次
- 提 供 者:
- 李*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
下面的这个例子,将带着大家去实现具备这样功能的电脑遥控器。首先你需要一个遥控器,需要知道他的按键码,按键码可以用程序测试出来。将这个按键码和你要设置的键盘的案件的扫描码建立一个对应的关系。接下来你需要一个单片机开发板,也可以自己做。自己做需要话PCB,选择好芯片并设计电路。最后需要做的就是了解PS/2通信协会并根据这个协议来编写程序。如果是要设置像ALT+F4这种的快捷键的朋友,这种键我们可以想象按下的顺序,首先按下ALT键,是发送他的通码,这时并没有释放,再按下F4的通码,接着松开F4,这时发送的是F4的断码,接着松开ALT,发送的是ALT的断码,这个数据是这样的。下面给出程序,此例直接在电子人单片机开发板 上实现。-The example below will bring everyone to achieve with this PC remote control function. First you need a remote control, you need to know his key code, key code can use the program to test it. This key code and you will want to set the keyboard scan code in cases corresponding to establish a relationship. Next you need a microcontroller development board, you can do it yourself. If required to do their own PCB, choose a good chip and circuit design. Finally, you need to do is understand the PS/2 Communications Association and in accordance with the agreement to write programs. If you want to set the shortcut keys such as ALT+F4 friends, we can imagine pressing this key sequence, first press the ALT key, is to send his pass code, then did not release, and then press F4 to pass code, and then release the F4, F4, then send the broken code, and then release the ALT, ALT, sending the broken code, this data is this. Procedures given below, this case directly cyborg microcontroller development
(系统自动生成,下载前可以参看下载内容)
下载文件列表
无线遥控电脑.exe
下位机程序晶振11.0592.hex
单片机控制电脑.txt
无线遥控电脑(附).txt
无线遥控电脑1.gif
无线遥控电脑2.gif