In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: I used $18 for the master and start with $20 for the slaves, as these low addresses are not used by popular i2c devices. Another way to use dynamic addressing, without using a tokenbus, is to make use of a broadcast address that all slaves listen to. Via this broadcast address all slaves receive a private I2C address. All non-assigned slaves then pull SCL low [b]for a random time[/b]. The slave that holds SCL low for the longest time, then accepts the private address and does not pull SCL low on the next broadcast. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=236034#m236188 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)