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

Discussion in 'C Programming' started by Ardni, Jun 21, 2009.

  1. Ardni

    Ardni

    Joined:
    Jul 8, 2008
    Messages:
    23
    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
     
    Ardni, Jun 21, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. galapogos
    Replies:
    4
    Views:
    390
    Kenny McCormack
    May 11, 2007
  2. Sjouke Burry

    Re: send txt file to usb port

    Sjouke Burry, Sep 25, 2012, in forum: C Programming
    Replies:
    0
    Views:
    285
    Sjouke Burry
    Sep 25, 2012
  3. Nobody

    Re: send txt file to usb port

    Nobody, Sep 26, 2012, in forum: C Programming
    Replies:
    0
    Views:
    322
    Nobody
    Sep 26, 2012
  4. Angel

    Re: send txt file to usb port

    Angel, Sep 27, 2012, in forum: C Programming
    Replies:
    0
    Views:
    325
    Angel
    Sep 27, 2012
  5. jgh@arcade.demon.co.uk

    Re: send txt file to usb port

    jgh@arcade.demon.co.uk, Sep 28, 2012, in forum: C Programming
    Replies:
    0
    Views:
    261
    jgh@arcade.demon.co.uk
    Sep 28, 2012
Loading...

Share This Page