Marcel, thanks for the input, you either has a nice memory or a very well organized archive. After little search I found the thread, but it was actually from Bob Axtel, he made this page available for public access, so thanks Bob: http://www.piclist.com/techref/microchip/sw7_on_1pin.htm I think I will use pretty much the same approach, I can see clear advantages in putting resistors in serie rather than paralel as it was my initial thought. As my application has plenty of free EEPROM, what I would do is to have a simple routine calibration that will overcome the resistor low precision, so after activating the routine, pressing the buttons one by one in order will store a calibration number on the EEPROM. I am using momentary pushbuttons that have metal contacts, so I do not face the same problem as carbon membrane keyboard, the initial calibration will probably remain valid for a long time. Thanks all for all the posts with info, it really helped a lot. 2007/6/29, Marcel Birthelmer : > > Hi Ariel, > Our very own Russell McMahon posted a schematic and code to that > effect a while ago on this list. The subject line was "[PIC] Reading 7 > Pushbutton Switches With ONE PIC pin". You can find it in the > archives. > Regards, > - Marcel > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Ariel Rocholl Madrid, Spain -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist