CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Using PORT A while also using ADC

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
flip



Joined: 15 Feb 2005
Posts: 11

View user's profile Send private message

Using PORT A while also using ADC
PostPosted: Fri Feb 18, 2005 10:40 am     Reply with quote

Hi, I'm using the ADC on port A0, and I also want to output on the other bits of port A. Is this possible? I notice if I set tris A to anything, then it will screw up the ADC. Thanks
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Fri Feb 18, 2005 10:53 am     Reply with quote

Read the datasheet. Look under the Analog to Digital convertor section. It will show you what combination of Analog and Digital you can have. You didn't specify what pic but for the ones that I know, yes you can.
Guest








PostPosted: Fri Feb 18, 2005 11:05 am     Reply with quote

yeah thanks, I'm, using the 18f458
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group