#include <Arduino.h>
const int rPin = 12;
const int yPin = 14;
const int gPin = 13;
void setup() {
pinMode(rPin, OUTPUT);
pinMode(yPin, OUTPUT);
pinMode(gPin, OUTPUT);
}
void loop() {
digitalWrite(rPin, HIGH);
digitalWrite(yPin, LOW);
digitalWrite(gPin, LOW);
delay(5000);
digitalWrite(rPin, HIGH);
digitalWrite(yPin, HIGH);
digitalWrite(gPin, LOW);
delay(2000);
digitalWrite(rPin, LOW);
digitalWrite(yPin, LOW);
digitalWrite(gPin, HIGH);
delay(5000);
digitalWrite(rPin, LOW);
digitalWrite(yPin, HIGH);
digitalWrite(gPin, LOW);
delay(2000);
}