Why won't my custom functions be called?

A for( ) loop would work nicely.


BTW
Suggest you never use delay( ) as nothing else runs while in the delay time.


Study BWD (blink without delay).

And


Study the State Machine method of writing sketches.

1 Like