The SPDT switch selects from the push button(bottom) to the timed impulses (top) as the input, the every "1" and "0" is the next output, last it cycles from 1-4 and repeats it over and over. It auto clears and presets it to the first output by only one input.