int WaitTime=2000;
int Stop=3000;
int Go=5000;
void setup() {
// put your setup code here, to run once:
DDRD=DDRD|0x7F ;
DDRB=DDRB|0x7F ;
}
void loop() {
// put your main code here, to run repeatedly:
PORTD=0b001001;
PORTB=0b001001;
delay(10);
//Light one
PORTD=0b001010;
delay(WaitTime);
PORTD=0b001100;
delay(Go);
//Light two
PORTD=0b010001;
delay(WaitTime);
PORTD=0b100001;
delay(Go);
PORTD=0b001001;
PORTB=0b001010;
delay(WaitTime);
PORTB=0b001100;
delay(Go);
PORTB=0b010001;
delay(WaitTime);
PORTB=0b100001;
delay(Go);
PORTB=0b001001;
}