Can you please explain what you think that a line like
B00000001, (delay),
in your patterns[] achieves?