On Mon, October 14, 2013 4:15 pm, David Duffy (AVD) wrote: > That seems to be when you have variables directly associated with the > data? > > In my case, some of the EE could be associated with variables, but other > data is used with generic read / write commands from a PC interface. > > Maybe I should look into the EE variables anyway. Learning XC8 (and C > in general) has been fun so far. > David... > > On 15/10/2013 7:00 AM, Neil wrote: >> I've not really used XC8 yet. Is there a reason the C18-type way >> wouldn't work?... >> http://support2.microchip.com/KBSearch/KB_StdProb.aspx?ID=3DSQ6UJ9A0004D= V I haven't used this, so please verify first, but checking the XC8 manual, there are a couple options- you can use: eeprom char regNumber[10] =3D "A93213"; Also, section 5.5.5.2 of the XC8 manual describes a macro: #include __EEPROM_DATA(0, 1, 2, 3, 4, 5, 6, 7); The difference being that this is just inserting the data into the .hex file used to program the part- it isn't associated with a variable. Matt Bennett Just outside of Austin, TX 30.51,-97.91 The views I express are my own, not that of my employer, a large multinational corporation that you are familiar with. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .