I wrote "The traditional way would be to arrange the 16 as a 4 x 4 and use IOC" Just wondering - On PICs with both PORT and LAT, I think it would be possible to read a 4 x 4 pad with just 4 pins, taking advantage of their dual logic Thoughts ? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist