PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jul 14, 2005 4:12 pm |
|
|
You didn't say what PIC you're using, so I'll assume it's an 18F452.
Look in the 18F452.H file, in this folder: c:\Program Files\Picc\Devices
You will see a list of parameters for the CCS #fuses statement, like this:
Quote: | //////// Fuses: CCP2C1,CCP2B3,NOSTVREN,STVREN,NODEBUG,DEBUG,NOLVP,LVP,WRT |
The one that you want is CCP2B3.
Example:
Quote: | #include <18F452.h>
#fuses XT, WDT, NOPROTECT,PUT,BROWNOUT,NOLVP,CCP2B3
#use delay(clock=4000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7, ERRORS) |
|
|