Thread: ADC problem
View Single Post
  #3   Spotlight this post!  
Unread 16-02-2006, 21:53
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: ADC problem

If you're using Kevin's ADC code, you cannot use the usual Get_Analog_Value() function. I don't have the files handy to check, but the proper function to use is documented in his code.

(You also need to make sure you've defined the proper number of analog channels; that too is documented.)