I am using MPLABX and C8 compiler for the PIC 16f690 microcontroller.
From reading C8 datasheet, it seems that the eeprom_write/read functions are included in the xc.h header. However, MPLAB does not recognize the functions (unable to resolve identifier eeprom_write/read), and it will not compile. Are there other initializations required to use eeprom?
The variables I am trying to store are both unsigned chars that are smaller than 1 byte. Out of context, this is how they are being formatted ("final" being a previously declared char):
eeprom_write(0x00, final);
int x = (int) eeprom_read(0x00);