you misunderstand, I want the sequence to run with the specified lengths of HIGH and LOW. However, I want to switch to the alternative sequence as soon as I change the state of the switch. Currently it has to finish the entire first sequence before it will switch the the alternative one.