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

18f67k22 adc problem

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



Joined: 27 Apr 2012
Posts: 15
Location: TURKEY

View user's profile Send private message

18f67k22 adc problem
PostPosted: Sun Feb 24, 2013 4:27 pm     Reply with quote

hi i used pic 18f67k22 for my project. when i want to read temperature from lm35 or ntc, give me incorrect result. But when i connect power supply without chaning the same pine, give me correct result.

So I make a voltage divider (I used resistor) from supply voltage and give me a incorrect result. The same project using the toucj screen and i read correct adc result.

Where am I doing wrong? I do not know what could it be?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Feb 24, 2013 4:43 pm     Reply with quote

Always post your compiler version if you think the built-in functions don't
work. It may be that your version has a bug. We can't check it unless
you post the version. It's given at the top of the .LST file for your project.
Example of version numbers:
http://www.ccsinfo.com/devices.php?page=versioninfo
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