Thread: RC Analog
View Single Post
  #7   Spotlight this post!  
Unread 02-02-2008, 11:27
Slick Slick is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Martinsville, VA
Posts: 21
Slick is an unknown quantity at this point
Re: RC Analog

Tried the Get_ADC_Result(1); and it does not compile. Went to the old code and used Get_Analog_Value(rc_ana_in01); and it does compile. I'm using the printf to see my value: example: printf ("Analog 1 = %i \r\n"' rc_ana_in01); and I'm not getting any readings from my IR sensors. I fell very confident the sensors are working correctly and I have it plugged to the Analog one port on the RC. What am I doing wrong??? How can I get the analog reading? Thanks for all of the help so far and I feel close to solving this problem.