Arduino Gym Circuit Lights

int redLed = 10;

int greenLed = 11;

int led = 13;

int buzPin = 12;

//int buzgndPin = 2;


void setup() {


pinMode(10, OUTPUT);

pinMode(11, OUTPUT);

pinMode(12, OUTPUT);

pinMode(13, OUTPUT);

digitalWrite(13, LOW);

//pinMode(2, OUTPUT);

//digitalWrite(2, LOW);


digitalWrite(12, HIGH);

delay(1000);

digitalWrite(12, LOW);

}


void loop() {


digitalWrite(10, HIGH); //red

delay(20000);

digitalWrite(10, LOW);


digitalWrite(12, HIGH);

delay(1000);

digitalWrite(12, LOW);


digitalWrite(11, HIGH); //green

delay(40000);

digitalWrite(11, LOW);


digitalWrite(12, HIGH);

delay(1000);

digitalWrite(12, LOW);

}