Calamar
Joined: 07 Sep 2003 Posts: 60 Location: Buenos Aires (Argentina)
|
16f628, internal oscillator, and rb5/mclr ... |
Posted: Thu Jul 24, 2003 8:03 pm |
|
|
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
|
Re: 16f628, internal oscillator, and rb5/mclr ... |
Posted: Fri Jul 25, 2003 12:57 pm |
|
|
:=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 |
|