AtomSoft
Well-Known Member
Hey another issue . I know i have a bunch of em lol This one is confusing. I looked through the PIC18 Config Set help file and it says its there so im assuming its the header file with the error or something.
Here is my code:
The issue is it says:
"main.c:5:Error [1224] configuration setting 'OSC' not recognized"
Im on my way to check microchip to see if i can find info but if anyone could shed some light ill be grateful.
Here is my code:
Code:
#include <p18f2525.h>
#include <stdio.h>
#include <delays.h>
#pragma config WDT = OFF, XINST = OFF, OSC = INTIO67
void main(void){
OSCCON = 0x72; //8MHz clock
while(!OSCCONbits.IOFS); //wait for osc stable
while(1){
}
}
The issue is it says:
"main.c:5:Error [1224] configuration setting 'OSC' not recognized"
Im on my way to check microchip to see if i can find info but if anyone could shed some light ill be grateful.
Last edited: