文件名称:testlibusb_win
- 所属分类:
- 通讯编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-05-18
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- songdo******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实现了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