文件名称:USBkey
介绍说明--下载内容均来自于网络,请自行研究使用
用单片机做的USB开发板的键盘程序
开发板上共有8个按键,功能分别为:
K1:左Ctrl键 K2:左Shift键 K3:左Alt键 K4:0键
K5:1键 K6:2键 K7:Caps Lock键 K8:Num Lock键
按键功能测试:
同时按下K1和K2可做输入法切换,这跟键盘上的两个键功能一样的。
K7可打开大写字母锁定,同时LED2亮起。K8是小数字键盘锁定键,
当数字键盘打开时,LED1亮起,这时可用K4,K5,K6输入数字。
请留意EDN板上的LED会跟你自己的键盘上的LED灯同步。不管按哪块
键盘切换都是如此。不过按住切换键不放,可能会导致两块键盘之间
的LED失步。-MCU development board to do the keyboard USB development board a total of eight buttons, functions, respectively: K1: Left Ctrl key K2: the left Shift key K3: left Alt key K4: 0 key K5: 1 key K6: 2 key K7: Caps Lock key K8: Num Lock key button function test: Press the K1 and K2 at the same time can switch the input method, which is two keys on the keyboard functions the same. K7 can be locked open capital letters at the same time turn on LED2. K8 is a small numeric keypad lock, when the numeric keypad open, LED1 lights when available K4, K5, K6 digital input. Please pay attention to the LED board EDN will be with your own LED lights on the keyboard simultaneously. Regardless of the keyboard by switching哪块true. Hold down the key switch, however, may result between the two LED keyboard out-of-step.
开发板上共有8个按键,功能分别为:
K1:左Ctrl键 K2:左Shift键 K3:左Alt键 K4:0键
K5:1键 K6:2键 K7:Caps Lock键 K8:Num Lock键
按键功能测试:
同时按下K1和K2可做输入法切换,这跟键盘上的两个键功能一样的。
K7可打开大写字母锁定,同时LED2亮起。K8是小数字键盘锁定键,
当数字键盘打开时,LED1亮起,这时可用K4,K5,K6输入数字。
请留意EDN板上的LED会跟你自己的键盘上的LED灯同步。不管按哪块
键盘切换都是如此。不过按住切换键不放,可能会导致两块键盘之间
的LED失步。-MCU development board to do the keyboard USB development board a total of eight buttons, functions, respectively: K1: Left Ctrl key K2: the left Shift key K3: left Alt key K4: 0 key K5: 1 key K6: 2 key K7: Caps Lock key K8: Num Lock key button function test: Press the K1 and K2 at the same time can switch the input method, which is two keys on the keyboard functions the same. K7 can be locked open capital letters at the same time turn on LED2. K8 is a small numeric keypad lock, when the numeric keypad open, LED1 lights when available K4, K5, K6 digital input. Please pay attention to the LED board EDN will be with your own LED lights on the keyboard simultaneously. Regardless of the keyboard by switching哪块true. Hold down the key switch, however, may result between the two LED keyboard out-of-step.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SourceCode
..........\AT89X52.H
..........\config.h
..........\Key.c
..........\Key.h
..........\Key.LST
..........\Key.OBJ
..........\keyboard.h
..........\LED.h
..........\My_type.h
..........\PDIUSBD12.h
..........\UART.c
..........\UART.h
..........\UART.LST
..........\UART.OBJ
..........\USB.H
..........\UsbKeyBoard
..........\UsbKeyBoard.c
..........\UsbKeyBoard.hex
..........\UsbKeyBoard.lnp
..........\UsbKeyBoard.LST
..........\UsbKeyBoard.M51
..........\UsbKeyBoard.OBJ
..........\UsbKeyBoard.Opt
..........\UsbKeyBoard.plg
..........\UsbKeyBoard.Uv2
..........\UsbKeyBoard_Opt.Bak
..........\UsbKeyBoard_Uv2.Bak
..........\AT89X52.H
..........\config.h
..........\Key.c
..........\Key.h
..........\Key.LST
..........\Key.OBJ
..........\keyboard.h
..........\LED.h
..........\My_type.h
..........\PDIUSBD12.h
..........\UART.c
..........\UART.h
..........\UART.LST
..........\UART.OBJ
..........\USB.H
..........\UsbKeyBoard
..........\UsbKeyBoard.c
..........\UsbKeyBoard.hex
..........\UsbKeyBoard.lnp
..........\UsbKeyBoard.LST
..........\UsbKeyBoard.M51
..........\UsbKeyBoard.OBJ
..........\UsbKeyBoard.Opt
..........\UsbKeyBoard.plg
..........\UsbKeyBoard.Uv2
..........\UsbKeyBoard_Opt.Bak
..........\UsbKeyBoard_Uv2.Bak