Flash matrix sequencer