View Single Post
  #1   Spotlight this post!  
Unread 05-02-2007, 19:54
chippermonky chippermonky is offline
Registered User
#0604
 
Join Date: Jan 2005
Location: san jose ca
Posts: 5
chippermonky is an unknown quantity at this point
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.