I'm trying to modify the PIC18F2620 include files so that my programs will, by default, compile/assemble with the oscillator mode set to internal and 4MHz.
This line:
__CONFIG _CONFIG1H, _OSC_INTIO7_1H
will set the default oscillator mode to internal (with Fosc/4 coming out on RA6), but the default frequency for this mode seems to be 1MHz and not the 4MHz I want.
Can someone tell me how to add/modify the include file to set the frequency to 4MHz?
Thanks
Joe
Bookmarks