void setup() {
// put your setup code here, to run once:
pinMode(A1, OUTPUT);
pinMode(A2, OUTPUT);
pinMode(A3, OUTPUT);
pinMode(A4, OUTPUT);
pinMode(A5, OUTPUT);
pinMode(A0, OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(A0, HIGH);
digitalWrite(A2, LOW);
digitalWrite(A3, HIGH);
digitalWrite(A4, LOW);
digitalWrite(A5, LOW);
digitalWrite(A1, LOW);
delay(1000);
digitalWrite(A0, HIGH);
digitalWrite(A2, LOW);
digitalWrite(A4, HIGH);
digitalWrite(A3, LOW);
digitalWrite(A5, LOW);
digitalWrite(A1, LOW);
delay(1000);
digitalWrite(A5, HIGH);
digitalWrite(A0, LOW);
digitalWrite(A2, HIGH);
digitalWrite(A3, LOW);
digitalWrite(A4, LOW);
digitalWrite(A1, LOW);
delay(1000);
digitalWrite(A5, HIGH);
digitalWrite(A0, LOW);
digitalWrite(A1, HIGH);
digitalWrite(A3, LOW);
digitalWrite(A4, LOW);
digitalWrite(A2, LOW);
delay(1000);
}