Richard & Carolyn wrote: > I have a project based on the 16F84 that uses 8 inputs in an > automotive application. I developed it to learn about pics, now I have > a Customer who wants 15 inputs. Recommend two 74HC165 shift registers in tandem to multiplex 16 inputs onto three lines (Latch, Clock, Data( in)) on the PIC. The Clock and Latch lines can be used for other purposes also with certain restrictions. A simple subroutine is called once to ripple in each 8 bits of data. If you REALLY want I can give "starter" (notional) code. This assumes of course that you have a few dozen clock cycles to spare on each read and three or four RAM locations. Cheers, Paul B.