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

16f628, internal oscillator, and rb5/mclr ...

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



Joined: 07 Sep 2003
Posts: 60
Location: Buenos Aires (Argentina)

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

16f628, internal oscillator, and rb5/mclr ...
PostPosted: Thu Jul 24, 2003 8:03 pm     Reply with quote

How is it possible to choise from 4MHZ or 32.768Hz internal osilator ??


What should I do to set pin 4 as reset pin and one more time
as input port and one more time as reset port and ....


thank in advance....
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516336
_________________
Best Regards
Daniel H. Sagarra
La Plata (Argentina)
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: 16f628, internal oscillator, and rb5/mclr ...
PostPosted: Fri Jul 25, 2003 12:57 pm     Reply with quote

:=How is it possible to choise from 4MHZ or 32.768Hz internal osilator ??
:=
:=
:=What should I do to set pin 4 as reset pin and one more time
:=as input port and one more time as reset port and ....
:=
:=
-------------------------------------------------------

These settings are done with the #fuses statement.

Fuses:
LP, XT, HS, EC, NOWDT, WDT, NOPUT, PUT, PROTECT, PROTECT_50\%
PROTECT_75\%, NOPROTECT, NOBROWNOUT, BROWNOUT, MCLR, NOMCLR,
LVP, NOLVP, ER_IO, INTRC_IO, ER, INTRC, CPD, NOCPD

Look in the 16F628 data sheet, in section 14.1 "Configuration
bits", for an explanation of these settings.

Look in the CCS manual for an explanation of the #fuses
statement.

(CCS calls the configuration bits "fuses").
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516367
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