This is how I do it in Hi-Tech C Rob; // pre-assign values to EEPROM memory __EEPROM_DATA(1,154,120,200,120,5,60,0); // EEPROM addresses 0 to 7 __EEPROM_DATA(50,1,0,0,0,0,0,0); // EEPROM addresses 8 to 15 Nigel Rob Robson wrote: > > I'm wondering if there's a way to use some lines of program code to pre-load various EEPROM locations in an 18F452, in the same way that configuration bits can be pre-set using __CONFIG. I've been using Modify under the Window menu in MPLAB each time I burn a chip, but it doesn't save my settings with the project. I can't seem to find what I'm looking for in the manual, probably because I'm a bit sketchy on the correct terminology. I'd be grateful if someone could steer me in the right direction. > > Many thanks, > RR > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist