I will test everything tomorrow, but i think only changing pinMode can make the difference. Otherwise i will as you for further help