Need Help With Police Light Modes

wally_z:
@Arrch So basically what you are saying is, put the LED's I want on in a "void()" statement, and make enough for it to flash properly. Then use the intervals set in place to switch between the "void()" statements? I kind of see what you mean. I am not completely understanding though.

Each function statement should contain an "instantaneous" action. A simple example would be this:

void loop() {
  // At this "instant" you want to turn led 3 on and led 2 off
  digitalWrite(3, HIGH); 
  digitalWrite(2, LOW);
  delay(500);
  // At this "instant" you want to turn led 2 on and led 3 off
  digitalWrite(3, LOW);
  digitalWrite(2, HIGH);
delay(500);
}

Any digitalWrite commands that happen between delays happen "instantaneously." That usually involves turning on some LED and turning off others. Those commands are placed in a single function so that you just have to call that single function for all of those to happen at that instant. It then moves on to the next interval and repeats once that interval is reached.

Of course, it's not actually instantaneous, it just appears to be to the naked eye.