Need a little help with Arduino code

Hello, I'm in need of a little help with my Arduino code. I'm still an amateur with Arduino so I'm still learning. I know there is some function that makes the loop only happen for a certain amount of times,  but I forgot what it was. If someone knows what I'm talking about, thanks a lot for your assistance.

Bit of a Arduino newbie myself, but I think you might be looking for the For statement

https://www.arduino.cc/en/Reference/For

rickharris3 months ago