Turn on pull-up on poti pin if used as switch