Make the LED flash in a pattern