Not all for loops, wouldn't you agree Mike?
Agreed, but I don’t think he needs a state machine at all if he just calls that function after turning on the LED and turn off the LED when it returns.
However I am not sure why he wants to set the colour to black 64 times, once would do.