#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Pakistan
    Posts
    1
    Rep Power
    0

    Question How To Controll Hardware Using c++


    well i am working on a project in which i need to control hardware
    such as a 5v motor using c++ can you guys can help me out waiting for your reply hurryyy!!!
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Posts
    421
    Rep Power
    12
    This is just a guess cause you said you need a quick response.. but I am pretty sure you need a micro-controller. You then must "burn" the code into the controller. Thats about as far as I know, I am still new to the programming aspect/concept of it all.
    hmmm...
  4. #3
  5. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,593
    Rep Power
    4207
    Tell you what boss, you'd better read How to post a question, which is the top thread on this forum. You haven't told us:
    (a) What hardware platform this is on
    (b) What compiler/tools you are using
    (c) What sort of interface controller (if any) you are using

    As far as I know, there aren't any astrologers or psychics here on the forums, so unless you post at least SOME information about what you have, no one can help you.
  6. #4
  7. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Posts
    421
    Rep Power
    12
    Tell you what boss, you'd better read How to post a question,
    ooo..scorpian I never knew you had an evil side :eek: :eek: :D :D
    hmmm...
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    1
    Rep Power
    0

    Lightbulb


    I am also trying this,

    it may be like this
    u can controle through parellel port, by connecting port to DAC(Digital to Analog Converter IC), and send data using outport functions
    for this u should know the parellel port number

IMN logo majestic logo threadwatch logo seochat tools logo