I'm currently in the final stages of putting together my Leornardo-based MIDI controller. Thanks to the advice I received here it all went well (actually it was amazingly simple to put it together).
The MIDI controller has 12 pots and 8 buttons. I was under the assumption that I can get 20 inputs with the Leonardo. What I'm unclear about is how to do this. Currently, I've got the 8 buttons going in to the digital inputs. The pots are going into A0 - A5 and 8,9,10 and 12. So I'm left with 2 pots - I'm not clear where they go? Do they go to the Digital 4 and 6 inputs? If so, where do the two buttons that were using these inputs go?