In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jon Williams wrote: There is no generic routine for a nKx8 I2C memory -- the trouble is that each device has different addressing schemes and you'll have to tailor the subroutines above to the target device. I've written a lot of I2C code for the BASIC Stamp so I've been through this. If you've got a specific device in mind I can help you adjust the code. Another thing to keep in mind is that as of version 1.3 subroutines can return values so you don't have to pass address parameters anymore. This simplifies code and eliminates one temporary variable. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=82905#m82939 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)