int pinR = 4;
int pinG = 5;
int pinB = 6;
void setup() {
// put your setup code here, to run once:
pinMode(pinR, OUTPUT);
pinMode(pinB, OUTPUT);
pinMode(pinG, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int value = analogRead(A0);
digitalWrite(pinR, HIGH);
delay(1000);
digitalWrite(pinR, LOW);
delay(1000);
digitalWrite(pinG, HIGH);
delay(1000);
digitalWrite(pinG, LOW);
delay(1000);
digitalWrite(pinB, HIGH);
delay(1000);
digitalWrite(pinB, LOW);
delay(1000);
}