Page 55 - Proyecto
P. 55

void loop()
                                {
                                  //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);
                                  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);
                                  digitalWrite(fim3, LOW);
                                  digitalWrite(fim4, LOW);
                                  digitalWrite(fim5, LOW);
                                  delay(2000);
                                 }









                                                           50
   50   51   52   53   54   55   56   57   58   59   60