For statement inside setup and loop function

PaulS:
You don't seem to understand the difference between the state of a pin and the number of the pin?

I mentioned that in reply #6 but was ignored.