In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: John, You seem to be writing to the EEPROM and then attempting to immediately read back. The EEPROM is probably busy while you're attempting to read back so you're not getting the correct value. You can either insert a PAUSE after the MEM_OUT line, or update the MEM_OUT subroutine so that it doesn't return to the program until the write cycle is complete. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=205777#m205808 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)