Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   programming C++ for potentiometer (http://www.chiefdelphi.com/forums/showthread.php?t=92464)

mutantblond 20-02-2011 16:16

programming C++ for potentiometer
 
could someone post a sample code for reading the output of a potentiometer? We've got ours hooked up to AnalogChannel(1), and upon pressing a certain button on the gamepad, want to run a motor until the potentiometer reaches a certain value.
i have searched all over for sample code here, but have found what's there to be of limited use to us, being the novices with this as we are.
Thanks so much!

mutantblond 20-02-2011 17:49

Re: programming C++ for potentiometer
 
this always happens to me - I can spend an hour searching for a thread, then as soon as I post my question, I finally find the thread. for anyone looking for the same topic, check out http://www.chiefdelphi.com/forums/sh...iometer+cod e


All times are GMT -5. The time now is 14:06.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi