void setup() {
// put your setup code here, to run once:
pinMode(12, OUTPUT);//R
pinMode(14, OUTPUT);//G
pinMode(27, OUTPUT);//B
}
void loop() {
// put your main code here, to run repeatedly:
//RED
digitalWrite(12, HIGH);
digitalWrite(14,LOW);
digitalWrite(27,LOW);
delay(500);
//GREEN
digitalWrite(12,LOW);
digitalWrite(14,HIGH);
digitalWrite(27,LOW);
delay(500);
//LOW
digitalWrite(12,LOW);
digitalWrite(14,LOW);
digitalWrite(27,HIGH);
delay(500);
}