On Mon, Feb 09, 2004 at 03:46:02PM -0500, Vlad wrote: > I'm in the process of designing a toy circuit to keep track of life > counters for various games. It should support 3 players. Each player > will have two 7 segment LED displays that will display a number between > 0-99, and also 2 switch buttons that will be used to increase and > decrease the number displayed on these LED displays. > > I have a handful of 16f84 PIC's and currently learning how to program > them. With only a limited number of input/output pins on this chip > (13 I believe) what would be a good way to allocate these pins for the > switch buttons and displays? I appreciate all the responses I have received thus far. I am new to electronics so I will have to research all these ideas to fully understand them. Perhaps then I will come back with more specific questions after I have picked one of these methods... (although the technique that Bob is describing sounds attractive, tristate the pins to out/in so that they may share LEDs and switches) Well if you have any other good suggestions, keep em coming. :) I will summarize later if there is enough interest. Thanks -v -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu