Yes, for the Switch/Encoder combination you would need 3 Pins. 2 for the encoder (preferable on a pin with an interrupt on change feature) and one for the switch. There are different types of encoders, this probable being the most basic.
Here is a descent explaination, but it sounds like the POT will be best, given the pin count issue.
SteveB
Bookmarks