View Single Post
  #7   Spotlight this post!  
Unread 06-02-2005, 11:06
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: Initialize_ADC help???

Quote:
Originally Posted by Splintercell
Thanks, I'm going to have to look around on this, but I hope it works. I have changed the ADCON0bits.CHSx to diferent pins, but I have yet to get two different pins to work in the same code. It either doesn't work or tells me the error I posted previously. I'll try the OenADC() and see if it works. Thanks again all.
What are you trying to do with your code? You mentioned that you wanted to do two simultaneous ADC conversions. This cannot be done because there is only one ADC on-board. You have to select the channel to convert (which automatically starts a conversion), wait for it to finish, grab the data, select new channel, wait for it to finish, ...

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