Hi all, want to have 256 input keys for the 8 ports on pic16f84. A real headache when have to connect all 8 ports to ground and then switch back. anybody tried something like PLA ? Any help is greatly appreciated. Yansong -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.