In SX Microcontrollers, SX/B Compiler and SX-Key Tool, davehein wrote: John, It's not clear which device you started with in your initial post. It looks like you may have started with a 24LC32 and then switched to 24LC16. The addressing on these two devices is different. The 24LC16 requires a device address followed by a single memory address byte. The device address includes the 3 most significant memory address bits. Your code suports this format. The 24LC32 and larger devices requires an extra address byte. You would need to send the device address, followed by the MSB and LSB memory address bits. In this case, the 3 address bits in the device address are actually chip select bits. They need to match the way the pins are wired on the chip. For a single chip this is normally all zeros. Dave ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=205777#m205859 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)