Pages: 1 [2]   Go Down
Author Topic: Looping for a set amount of times.  (Read 1699 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Pages: 1 [2]   Go Up
Jump to: