> +VDD 5v > | > R1 > | / > *----------o/ o----------| > | | > | | > | | > R2 | > | | > | | > | / | > *----------o/ o----------*----------o to pic ADC input > | | > | | > | | > R3 | > | | > | | > | / | > *----------o/ o----------| > | > | > | > R4 > | > | > | > GND That would work except that the PIC pin needs to float to a well defined "no button pressed" level when no button is pressed. This will draw a significant current in the divider chain, because the pullup or pulldown can't be more than 10Kohms, and the divider would have to be significantly less to overcome it and still produce reasonable size step changes. You also have to think carefully about what happens when more than one button is pressed at a time. You could work out a scheme where every combination produces a different voltage, but then we'd be back to high parts tolerance senstivity for more than a few buttons. By the way, you could lose either R1 or R4 in the diagram above, but not both. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads