Repeating extended pattern of light flashes

I'm working on a small backstage project for the theater at which I work. I've got a Sparkfun Pro Micro 5V and I want to use it to light up a couple LEDs in a skull we have backstage. I'm wanting to make a more extended pattern than ON for ***milliseconds, OFF for ***milliseconds.

I feel it should not be that difficult, but the language evades me.

Any help, much appreciated.

I feel it should not be that difficult, but the language evades me.

Where are you planning on storing the "extended pattern"? Does "extended pattern" mean a collection of on and off times? How many values in the collection?

Somethig like this, using a couple of arrays for the times?

#define COUNT 5
#define pin <whatever>

const int ontimes[COUNT] = { 50, 35, 100, 3, 506 };
const int offtimes[COUNT] = { 77, 345, 12, 5976, 10 };
int i = 0 ;

void setup ()
{
  pinMode (pin, OUTPUT) ;
}

void loop()
{
  if (digitalRead(pin))  // read state of the ledpin
  {
    digitalWrite (pin, LOW) ;   // set off
    i ++ ;     // step to next entry
    if (i >= COUNT)
      i = 0 ;
    delay(offtimes[i]) ;         // delay for an offtime entry
  }
  else
  {
    digitalWrite (pin, HIGH) ;
    delay (ontimes [i]) ;
  }
}