In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mspeedie wrote: Mike: Thanks for the reply. That's definitely more efficient than my original solution which was: first sx chip: if x=..., then high pin 1 else if x = ..., then high pin 2 else if x = ..., then high pin 3 else if x = ..., then high pin 4 else if x = ..., then high pin 5 else if x = ..., then high pin 6 I had pins 1-6 on the first sx chip connected respectively to pins 1-6 on the second sx chip. So the second sx chip was scanning all six pins looking for the high. I wasn't using a 330-ohm resister between them though. It seemed that after my code triggered one of the pins 1-6 high, when the pin was set back to low, it occasionally remained high. I solved this by connecting a 1-Mohm resister between the two chips and ground to instantly discharge any remaining charge between the two. Have you experienced this before? Is that what the 330-ohm resistor takes care of? Mike ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=393970#m395158 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)