Mister e,
How would you do it if you wanted to use 1 pin as an input?