开发者

communication to usb port by using vc++2008

开发者 https://www.devze.com 2023-03-21 00:43 出处:网络
I want to communicate to halios 开发者_StackOverflowsystem(hardware) through usb port. I have a code which shows that the device is attached. I used USBTrace which shows that how many bytes are going

I want to communicate to halios 开发者_StackOverflowsystem(hardware) through usb port. I have a code which shows that the device is attached. I used USBTrace which shows that how many bytes are going in and out from the device to the host. But I do not know how to implement this is vc++2008 and by using windows xp.


If this is an evaluation board for an Elmos optical sensor IC I would guess that a USB to serial converter is involved. You could confirm this by watching Windows Device Manager for a new COM port appearing when you attach the device.

If that's the case you can use Basic example of serial communication with Windows XP/win32 but you may need to contact Elmos for the command protocol.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号