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 support@ccsinfo.com

PIC18F ADC

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



Joined: 12 Jun 2007
Posts: 1

View user's profile Send private message

PIC18F ADC
PostPosted: Tue Jun 12, 2007 8:55 am     Reply with quote

Hi,

I'm new to the PIC18Fxxx and I would like to know if the ADC can be
configured like the ADC's from the PIC16Fxxx ?

For example, may I use them as 8-Bit ADC or is it not possible?

My target is to connect a MCP9701A temperature-sensor directly to the PIC.

Bye, dhesg
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jun 12, 2007 12:18 pm     Reply with quote

Yes, you can use it the same way as with 16F, and you can also set
it for 8-bit mode. Here's an example (for 16F) that shows how to set it
for 8-bits.
http://www.ccsinfo.com/forum/viewtopic.php?t=31062&start=1&highlight=device%20adc
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