How could I do that ?
Use digitalWrite(), or direct port access. It depends on your wiring, which you also forgot to post.