User:Christopher.nunez/enes100/illuminationProject2/ELcode


 * 1) define A 2
 * 2) define B 3
 * 3) define C 4
 * 4) define D 5
 * 5) define E 6
 * 6) define F 7
 * 7) define G 8
 * 8) define H 9

void setup{ pinMode(A, OUTPUT); pinMode(B, OUTPUT); pinMode(C, OUTPUT); pinMode(D, OUTPUT); pinMode(E, OUTPUT); pinMode(F, OUTPUT); pinMode(G, OUTPUT); pinMode(H, OUTPUT); }

void loop{ digitalWrite(A, HIGH); digitalWrite(B, HIGH); digitalWrite(C, HIGH); digitalWrite(D, HIGH); digitalWrite(E, HIGH); digitalWrite(F, HIGH); digitalWrite(G, HIGH); digitalWrite(H, HIGH);

delay(2000);

digitalWrite(A, LOW); digitalWrite(B, LOW); digitalWrite(C, LOW); digitalWrite(D, LOW); digitalWrite(E, LOW); digitalWrite(F, LOW); digitalWrite(G, LOW); digitalWrite(H, LOW);

delay(500);

}