Page 19 - Trabajo final
P. 19
digitalWrite(fim1, LOW);
digitalWrite(fim3, LOW);
digitalWrite(fim4, LOW);
digitalWrite(fim6, LOW);
delay(2000);
//fila 3 y 4 encendida//
digitalWrite(fim3, HIGH);
digitalWrite(fim4, HIGH);
digitalWrite(fim1, LOW);
digitalWrite(fim2, LOW);
digitalWrite(fim5, LOW);
digitalWrite(fim6, LOW);
delay(2000);
//Fila 2 encendida y 5//
digitalWrite(fim2, HIGH);
digitalWrite(fim5, HIGH);
digitalWrite(fim1, LOW);
digitalWrite(fim3, LOW);
digitalWrite(fim4, LOW);
digitalWrite(fim6, LOW);
delay(2000);
//fila 1 encendida y 6//
digitalWrite(fim1, HIGH);
digitalWrite(fim6, HIGH);
digitalWrite(fim2, LOW);