set gpio pins to output