Blinking two LEDs in and out of phase

The 'default' case is used if no matching case is found. Like when 'case 1:' is done and

  if (done)
    whichPattern++; // next pattern

sets 'whichPattern' to 2. There is no match for 2 so the default case is used.