I've recently been having compiler problems with the code being erratic sometimes working and sometimes not even the oscillator running. I have used this pic before in other projects without issue. I'm not using usb it's just quite a small pic.
anyway i thought i would see if there was an updated version of the compliler and there was v22.214.171.124 icc 126.96.36.199. so i updated it and now i'm getting the following errors
Code: Select all
Device = 18F14k50 Clock = 48 ' configuration... Config CPUDIV = NOCLKDIV Config USBDIV = OFF Config FOSC = HS Config PLLEN = ON Config PWRTEN = ON Config BOREN = OFF Config WDTEN = OFF Include "SetDigitalIO" Dim LED As PORTC.5 SetAllDigital Output(LED) While TRUE DelayMS(50) LED = Not LED Wend End