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

three DS18B20...
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jun 30, 2009 3:20 pm     Reply with quote

Quote:
In this moment, I didn't have an external oscillator.
Could this be the problem?

You have a crystal on the left side of the PIC. Look on at the writing
on the crystal. It's probably says "4.000 MHz".

Just set the #use delay() for 4 MHz. That's all you have to do.

What remaining problem do you have ?
pyu



Joined: 04 Feb 2009
Posts: 51

View user's profile Send private message Yahoo Messenger

PostPosted: Wed Jul 01, 2009 2:38 pm     Reply with quote

The crystal was added 30 minutes before making that pictures.
I used
Code:
#fuses XT


I forgot to change this in the magic word (for 20Mhz)
Code:
#fuses HS


Now it's working Wink

Thanks all of you guys, I wouldn't succeed without your help.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
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