Hello Jeff, > The keypad had 12 individual buttons that went into two parallel to serial > shift register chips - it only took two or three pins on the PIC. It's > trivial to adapt that circuit to 16 buttons with just adding buttons, more > with adding more buttons, another chip and a moderate code tweak. I've done something similar using a pair of 4051s on a circuit I already have another pair of 4051s to read from 16 pots. Just used two other PIC inputs for keys the 4051 input-select lines are the same for all of them. Best regards, Brusque ----------------------------------- Edson Brusque Research and Development C.I.Tronics Lighting Designers Ltda Blumenau - SC - Brazil www.citronics.com.br Say NO to HTML mail ----------------------------------- -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body