In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: Hi Bean; If you wanted to sense 5 buttons to a common without any IC's, could you not simply wire 5 binary weighted resistors, one to each button, and then input that resistance into a single pin virtual ADC? A resolution of 2^5, or one in 32 should be quite achievable. That would only use 5 button encoding resistors, one small cap and one more "DAC" resistor. All done with only one pinI/O pin! Cheers, Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143344 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)