change pin output