Configure pin as input