|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
||||||
|
||||||
|
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 Last edited by Joe Ross : 05-02-2007 at 20:53. Reason: fixed page number |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hooking up a motor to Vex controller | Jeremiah Johnson | VEX | 2 | 15-08-2006 19:36 |
| Hooking up 2 Servos | kutty18 | Programming | 7 | 04-02-2005 09:26 |
| Problems hooking up a joystick to edubot | Salik Syed | Programming | 2 | 24-03-2004 23:56 |
| Hooking up Controller to computer for programming. | Dragon45 | General Forum | 3 | 30-01-2003 00:22 |
| hooking up sensors to controller? | Oakridege_665 | Technical Discussion | 5 | 21-01-2002 14:55 |