USB Control

Discussion in 'Mac Programming' started by moore1879, Jul 18, 2008.

  1. moore1879 macrumors newbie

    Joined:
    May 22, 2008
    #1
    I want to write software to control my usb ports. What would that entail? More specifically, say I have an electric motor that has been wired to plug into my usb port. What would I have to do to write software that would control the speed of the motor? What language would I have to use, etc?

    Thank you in advance.
     
  2. Flynnstone macrumors 65816

    Flynnstone

    Joined:
    Feb 25, 2003
    Location:
    Cold beer land
    #2
    It depends on what the motor controller looks like (in a software sense).
    If it behaves like a serial port, then its straight forward.
    Have you looked at RealBasic?
     
  3. moore1879 thread starter macrumors newbie

    Joined:
    May 22, 2008
    #3
    USB Control

    I would say that the simplest way to go is the best. I was thinking something more command line oriented, however I could go GUI. I have experience with C, Perl, Python, and Java. I have done nothing with RealBasic.
     
  4. Flynnstone macrumors 65816

    Flynnstone

    Joined:
    Feb 25, 2003
    Location:
    Cold beer land
    #4
    Should be able to do it in C etc.
    Just need to find mount point. Then its just reading and writing to a file.
    I've haven't done this. I've only used Realbasic.
     

Share This Page