Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Using C++ to send and read data to/from USB port

Reply
Thread Tools

Using C++ to send and read data to/from USB port

 
 
Ardni Ardni is offline
Junior Member
Join Date: Jul 2008
Posts: 24
 
      06-21-2009
Hi,
I want to write a program which can send and receive data to and from a USB port. I need to write a program that can communicate with an Arduino board.

I have some experience using C to write and read data to and from a serial port, but from googling a little, I believe that it is a little more complex with USB.

Can someone give me tips on where I can begin. Can I access directly the USB port by writing C++ code or do I need to use other libraries?

As in the case of a serial port, it has an address which could be addressed in a C program, is USB similar to this appraoch or completely different.

I have downloaded Dev-C++ to do this project and am using XP.

Thanks for any advice
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
application to send data from windows to usb port reachnisarga Hardware 1 02-13-2011 11:26 AM
Need to send data from windows through usb to a usb device reachnisarga Software 0 11-23-2010 06:28 AM
Re: Can we send and receive data to and from Port Using Python ? Steve Holden Python 0 04-11-2008 12:52 PM
Any USB devices that plug into a USB port and make your PC an access point? Ned Wireless Networking 7 04-16-2007 03:31 PM
Socket Send and Receive, Same local port, Different Remote Port jeffburgoon@hotmail.com Perl Misc 1 03-02-2005 08:54 AM



Advertisments