文件名称:wuxianyaokongdiannao
介绍说明--下载内容来自于网络,使用问题请自行百度
下面的这个例子,将带着大家去实现具备这样功能的电脑遥控器。首先你需要一个遥控器,需要知道他的按键码,按键码可以用程序测试出来。将这个按键码和你要设置的键盘的案件的扫描码建立一个对应的关系。接下来你需要一个单片机开发板,也可以自己做。自己做需要话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
下位机程序晶振11.0592.hex
单片机控制电脑.txt
无线遥控电脑(附).txt
无线遥控电脑1.gif
无线遥控电脑2.gif
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.