In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mgreen wrote: If you have a block of 3 I/O pins free on each SX28, you can simply hook the 3 I/O pins from one SX28 to the other using a 330 Ohm resistor on each pin. You'd declare the I/O pins as inputs on one SX28 and as outputs on the other SX28 (where the output register would work like a variable). You'll need to initialize the I/O pins appropriately by declaring the individual pins as INPUT or OUTPUT. One example of the declarations is "4 bit Parallel LCD Display with SX28 (SX/B 2.0)" here [url]http://forums.parallax.com/forums/default.aspx?f=7&m=182809[/url]. If you use pins 0-2 of one of the byte I/O ports, you'll have an easier time setting and checking the 3-bit value. If the port is called Comm, you'd set a new value (NewValue) by using something like: [code]Temp = Comm & %11111000 Temp = Comm | NewValue Comm = Temp[/code] To test the value on the other SX28: [code]Temp = Comm & %00000111 IF Temp = 3 THEN[/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=393970#m393993 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)