Hi Tony, I liked the idea of using analog input. if you use metal film resisters without LM317 and ziner it should work ok . open will be 5 Volts 0xFF Andre Tony Nixon wrote: > Hi all, > > I just posted a simple circuit for reading a keypad with 1 PIC pin. > Nothing too elaborate, but it will work with hobby projects etc. > > http://www.picnpoke.com/projects/keypad.html > > -- > Best regards > > Tony > > Multimedia 16F84 Beginners PIC Tools. > ** NEW PicNPro Programmer and Port Interface ** > > http://www.picnpoke.com > Email picnpoke@cdi.com.au