Go Down

Topic: Looping for a set amount of times. (Read 2795 times) previous topic - next topic


how about

the for command works if used in a separate function instead of being inside the void loop().
when the if loop has i in the function reach 5 (no longer less than 5), it will return back to the void loop() and wait for another button press.

No, that is gibberish too. Are you deliberately trying to confuse people?
I only provide help via the forum - please do not contact me for private consultancy.

Go Up