文件名称:testlibusb_win
-
所属分类:
- 标签属性:
- 上传时间:2014-05-18
-
文件大小:5.55kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实现了USB上位机与下位机之间的通信程序,底层代码采用的是神州IV的HID设备驱动,上位机采用的是libusb-win32实现的,修改了官方sourceforge提供的例程,实现了上位机给下位机发送控制控制命令,开关灯。同时,可以捕获到下位机按键被按下的消息。特殊说明,未经修改的代码可以到sourceforge上去下载,此处不再上传。testlibusb_win.c即是修改过的,是核心部分。开发环境是visual studio 2012.-USB communication program to achieve the PC and next-bit machine between underlying code uses the HID device driver Shenzhou IV, the PC uses libusb-win32 achieved by modifying the official sourceforge provides routines to achieve a PC send control to the next bit machine control commands, switch lights. Meanwhile, the next crew can capture button is pressed the message. Special instructions, unmodified code can go to sourceforge download, no upload here. testlibusb_win.c that is modified, is the core part. Development environment is visual studio 2012.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
testlibusb_win.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.