Bala Chandar wrote: > As you would all agree, when you use microcontrollers, the ideal solution > would be to accomplish as much as possible through software and minimize > cost and component count. > My circuit has the following: > - 9 PB Switches > - 8 Relays (Driven by a 5841) > - 1 7-Seg display including the Dec.Point (Driven by a 74HC595) > - 2 Inputs for zero crossing signal & data from power line > - 1 I/O for a DS1820 > - 2 Outputs for Data & Clock combined with outputs for Red & Green LEDs > - 2 Strobe outputs for 5841 & 74HC595 > - 1 Output for an Orange LED > > I am using the internal oscillator of the 16F628 and MCLR is used as an > input pin. So, all the 16 I/O pins are being used. > > Roman, your suggestions please. Hi Bala, I didn't claim to do anything magic, just that it worked without needing another chip. :o) What you require above is an interesting challenge. You have 27 separate signals that you want to connect to 16 pins? Wow. You already have a few chips in the circuit, in your case it may be more work trying to do it without extra chip. More work than it's worth? :o) -Roman -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body