The options presented so far are all rather good. I know that using the same pins for different things can be a bit intimidating, so allow me to offer another idea. Serial shift registers. You could use a serial to parallel to light your displays, then a parallel to serial to read your switches. More components and thus a higher cost, however you are less dependent on time. Josh -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams 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. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body