Traffic light simulator/Red light "camera" programming

digitalWrite(PoliceRed, LOW);
digitalWrite(PoliceBlue, HIGH);
delay(200);
digitalWrite(PoliceRed, HIGH);
digitalWrite(PoliceBlue, LOW);
delay(200);

Where to start? I suggest you read up on "for" loops.

Please edit your post, select the code, and put it between [code] ... [/code] tags.

You can do that by hitting the # button above the posting area.