I should have mentioned, for devices which are always outputs you might want to use an 8-bit latch, like the DM74LS573, instead of the bus transceiver. When the addresses match, use the comparator's output to set the latch enable high, storing the value. That way, the slave PIC doesnt need to poll the input pins. It just reads the latch whenever it gets around to it. ---------- > From: H.P. de Vries > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: MUX > Date: Friday, February 13, 1998 9:31 PM > > This way I have a few bits too few. I am using a PIC16C84, which has a > total of 13 I/O bits. But if I use only 3 address-bits, and preset the > ttransceivers for either input or output this should worh (I hope) > > Hans >