In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: I looked into creating subroutines/functions -- not a good idea; if the I2C master blows up in the middle of a command you'll get hung up. The ISR version is really the only safe way to go. At the moment, I have no pressing need to use the SX as an I2C slave, but if I find a need I'll take Guenther's code and package it in an SX/B demo. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286276#m286394 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)