Hello,

As someone has pointed out to me, you can also use the POT command to tie multiple switches to one pin. You also don't need to tie up an analog pin because you can use a digital I/O pin.

However, for time critical applications, that's probably not the best option. Using the analog pin, you can start the ADC reading and then poll for it's completion. That allows you to have time critical stuff (like interrupts) going on in the background.

Since the POT command relies on timing to determine the resistance in series with a capacitor, I think that it will fall apart if an interrupt happens in the middle of it.

So, for non-timing critical applications, use either method (I'd actually probably lean toward the POT command).
However, for timing critical applications, you're probably better off using the ADC inputs and polling.