Use digital pin,both as input and outpout,without always reconfiging the pinMode

settra:
yes the only problem is, you are adressing a DIFFERENT problem. i will not spend any more time in trying to show you this, so unless you actually try to understand the situation, dont post things that might confuse someone , that already had it right.

Helpful if you would state who you are addressing specifically?