Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   hooking up potentiometers (http://www.chiefdelphi.com/forums/showthread.php?t=53530)

chippermonky 05-02-2007 19:54

hooking up potentiometers
 
Hi, I'm currently using Kevin's ADC code.I hooked up a potentiometer to channel 1 with just the white and black wires coming from the analog inputs. I call Get_ADC_Results(1) and print the output. Regardless of what place the potentiometer is at, it always reads zero. However, if I hook up the accelerometer, then I get the raw accelerometer data. Am I hooking up the potentiometer incorrectly, Can someone help? Thanks in advanced.

Joe Ross 05-02-2007 20:04

Re: hooking up potentiometers
 
Page 8 (Section 9) of the Robot Controller Reference Guide shows how to correctly hook up a potentiometer. All three wires are required.

http://ifirobotics.com/docs/rc-ref-guide-6-13-2006.pdf


All times are GMT -5. The time now is 04:51.

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