In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bernoulli wrote: Dave, Attached is a simple SX/B program for a specific type of I2C Slave. It does not have all the features a slave might require, but it can give you a good start on what is needed. It does not have time stretching that I2C slaves might be required to have. And the program does not contain code for the transmission of information back to the master. Basically, the code just receives data from the Master and then within the main program there is a decision as to whether the code is directed at this slave device or not. We wrote this code to simply receive information from a I2C Master and then act upon its commands. Our slave did not send any information back to the Master other than the ACK after receiving each byte. Gary ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=264522#m264560 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)