Hello All, Does anyone have a code fragment showing how to write a byte to the EEPROM in a P16F628? I looked at page 93 in the 16F62X manual but I did not see where to set the EEADR register and move the data to the EEDATA register. Also is the "reqiured sequence" needed for each write? Regards, Royce -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu