Page 16 - Trabajo final
P. 16

//fila 1 encendida y 6//

                    digitalWrite(fim1, HIGH);

                    digitalWrite(fim6, HIGH);

                    digitalWrite(fim2, LOW);

                    digitalWrite(fim3, LOW);

                    digitalWrite(fim4, LOW);

                    digitalWrite(fim5, 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 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);
   11   12   13   14   15   16   17   18   19   20   21