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

internal oscilator PIC16F88

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



Joined: 04 Apr 2006
Posts: 117
Location: Brasil

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

internal oscilator PIC16F88
PostPosted: Mon Apr 17, 2006 12:33 pm     Reply with quote

Hi people, how can i set the internal oscilator for pic16f88 ? its datasheet says that it has an internal oscilator divided by blocks, but theres no valid fuses that i can use.

att.

André
_________________
Andre
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Apr 17, 2006 12:41 pm     Reply with quote

Quote:
but theres no valid fuses that i can use.

Look in the list of fuses near the start of the 16F88.H file.
You will see these fuses:
Quote:
INTRC and INTRC_IO


Here is an example program:
http://www.ccsinfo.com/forum/viewtopic.php?t=22955&start=1
andreluizeng



Joined: 04 Apr 2006
Posts: 117
Location: Brasil

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

PostPosted: Mon Apr 17, 2006 12:46 pm     Reply with quote

i think that my compiler is older than yours.
i've tried to use INTRC INTRC_IO and it didnt work.

my compiler is version 3.2 but, i've got a code in this forum that set its up to internal oscilator with 4MHZ.

look at that:

Code:

#use delay (clock = 4000000, RESTART_WDT)
#byte OSCCON = 0x8F
OSCCON = 0x6C;


that is it.

thanks for the help.

regards.

André
_________________
Andre
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