Page 20 - PROYECTO INTEGRADOR_Neat
P. 20

pinMode(5, OUTPUT);

                  }

                  void loop()


                  {

                    digitalWrite(1, HIGH);

                    digitalWrite(2, LOW);

                    digitalWrite(3, LOW);


                    digitalWrite(4,LOW);

                    digitalWrite(5,HIGH);

                    delay(1000);

                    digitalWrite(1, LOW);

                    digitalWrite(2, LOW);


                    digitalWrite(3, HIGH);

                      digitalWrite(4,HIGH);

                    digitalWrite(5,LOW);

                    delay(2000);


                    digitalWrite(1, LOW);

                    digitalWrite(2, HIGH);

                    digitalWrite(3, LOW);

                    digitalWrite(4,HIGH);


                    digitalWrite(5,LOW);

                    delay(1000);

                  }
   15   16   17   18   19   20   21   22   23   24   25