Arduino Use Pin As Input And Output