auto change pi gpio pin