1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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,012
    Likes Received:
    203
    Trophy Points:
    0
    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