TRAFFIC SIGNAL (BLINK PROGRAM) void setup()
{
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
pinMode(29,OUTPUT);
}
void loop()
{
digitalWrite(29,HIGH);
delay(2000);
digitalWrite(29,LOW);
delay(2000);
digitalWrite(9,HIGH);
delay(2000);
digitalWrite(9,LOW);
delay(2000);
digitalWrite(10,HIGH);
delay(2000);
digitalWrite(10,LOW);
delay(2000);
}