Blinking LEDs for a set number of times followed by another action

I thought of some additional suggestions that might help you :).

  • try making a program that blinks the led 3 times, and then stops doing anything at all.
  • try making a program that just once selects a random led to light, and then stops doing anything at all.

If you make these programs, they're far easier to combine than having programs just constantly looping trough both those actions :).