SuperDave
Joined: 22 May 2008 Posts: 63 Location: Madison, TN
|
EEProm questions |
Posted: Fri Nov 28, 2014 6:00 pm |
|
|
Placing multiple configuration values into eeprom storage during programming I use
//For the PIC16LF1828 the eeprom start address is 191h
int16 const PromStart = getenv("eeprom_address");
#ROM PromStart = {data0,data1,etc};
When the program is running do I use
write_eeprom(1, new_data1);
or
write_eeprom(PromStart + 1, new_data1); ?
I think it's the first choice but the documentation does not make that clear to me. |
|