Thread: ADC problem
View Single Post
  #5   Spotlight this post!  
Unread 17-02-2006, 11:12
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: ADC problem

Quote:
Originally Posted by sjung9442
I can't put any code here because we don't even know what the problem is...
it's so sad that we don't even know the problem...
we used Get_ADC_Result(channel number) function from kevin's code to get the value. And we set it to the analog inputs we needed... but when we turn on the robot and try to get data, we are getting 1888 for all of them...
And when we change one thing, everything changes too.
Can you zip up your project and send it to me to look at. Also, what kind of sensors are you using on the analog inputs?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org