Reading a constant keyboard input...

Discussion in 'C' started by GraffZeppelin, Mar 7, 2012.

  1. GraffZeppelin

    GraffZeppelin New Member

    Joined:
    Mar 7, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello everyone,

    I am a beginner in C, and I need help! :eek:
    I want to make a C program or atleast something similar to an idea, if its possible ofcourse, so that when the program runs, it reads a constant keyboard input (keyboard button kept pushed and not released) and then runs a servo motor to a certain direction until the button is released. The whole idea is to run a C program for a Phidget SBC, using an AdvancedServo controler, and control the motors via keyboard input (any letter or number button, Num pads).

    I hope You've got the idea.. If not, I'll be more that happy to explain it more detailed!
    Any suggestions, ideas and info would be appreciated!

    -Giedrius
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Your best bet will be to post on the Phidgets forum http://www.phidgets.com/phorum/
    It's unlikely anyone around here will have the detailed knowledge that will answer your question.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice