Error in EEPROM call
Posted: Mon Apr 29, 2019 7:21 pm
Out of frustration that I can't get the 16F886 ADC working correctly I decided to get another PIC and see if that works better. PIC18F25K42 has the same package and the same pin connections so completely functional and physical compatible. It even has a 12 bit ADC versus 10 bit for the 'F886.
But now I have another issue: when compiling to hex, I get this error message:
This seems an issue in the FC library; how can I solve this?
Jan Didden
Linear Audio
But now I have another issue: when compiling to hex, I get this error message:
Code: Select all
C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_EEPROM.c: FC_CAL_EE_Write()
111: bInterruptsEnabled = (INTCONbits.GIE);
^ (192) undefined identifier "INTCONbits"
(196) struct/union required ^
112: INTCONbits.GIE = 0;
^ (196) struct/union required
122: INTCONbits.GIE = 1;
^ (196) struct/union required
(908) exit status = 1
(908) exit status = 1
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1
FINISHEDJan Didden
Linear Audio