Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Reading a constant keyboard input... (http://www.go4expert.com/forums/reading-constant-keyboard-input-t27974/)

GraffZeppelin 7Mar2012 18:30

Reading a constant keyboard input...
 
Hello everyone,

I am a beginner in C, and I need help! :o
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

xpi0t0s 8Mar2012 06:37

Re: Reading a constant keyboard input...
 
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.


All times are GMT +5.5. The time now is 06:14.