|
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.
|