In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: I always thought it was screwy too, until I read a clearer explanation in some I2C datasheets. When you want to READ from an I2C device you must first WRITE to the address pointer register of the device -- in other words you are WRITING the address you want to an internal register. When a READ is issued, the device looks to it's own register to see what address to get. This is also why "auto-incrementing" works -- that internal register (in many devices) will increment by one address unit each time a read is issued. So if you are reading subsequent bytes, you do not need to keep writing to the address pointer of the device. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=172860#m172898 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)