In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Philldapill wrote: Bean, I've actually decided against the use of pots, and instead, I'm going to use four buttons to adjust duty/freq. I'm thinking I'll use three pins for this - 1 pin for the "row", 1 pin for the "column" and 1 pin for the "buttonactive" state. All three pins will have pull down resistors. That last "button active" is to identify that a button was pressed. All buttons will pull this pin up through a diode when any are pressed. I assume this bit of code could easily be modified, so that it scans the "button active" pin for it to be high, then when it does, detects what pin was pressed, and from there, adjust the frequency/duty? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=318599#m318747 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)