I wanted to display (just with some LEDs for a quick check) the actual value of some config word data in my PIC.
I, naively, thought I could just attach LEDs to the relevant pins and run this:
PORTAbits.RA0 = FEXTOSC0;
PORTAbits.RA1 = FEXTOSC1;
PORTAbits.RA2 = FEXTOSC2;
However, I get: error: use of undeclared identifier 'FEXTOSC0'
Can config words be read directly like this? If not, how can I read them from the chip without going via MPLAB, etc.?
Thank you.
(using a PIC16F15376)