The code in the demo Several Things at a Time illustrates how to make a few LEDS flash at different times.
...R