Quote Originally Posted by lecoind View Post
Which is the prefered method?
It all depends on the external hardware. That is what will determine the method.

Is the switch normally high or low? Is the switch normally closed or open? That is the beauty of it, flexible.

Unused pins can be pulled low with a 10K or higher.