Hi Scampy,
I cut and paste the settings at the start of the code, change _FOSC_HS_1H to _FOSC_INTIO67_1H to get RA6 and RA7 as I/O en compile without error's.
The LED is flashing now and the PIC RUNs without the crystal.
Thank you very much for your advice to solve this !
Bookmarks