Page 25 - PROYECTO INTEGRADOR_Neat
P. 25

pinMode(6, OUTPUT);

                    pinMode(7, OUTPUT);

                    pinMode(8, OUTPUT);


                  }



                  void loop()

                  {


                    digitalWrite(0, HIGH);

                    digitalWrite(7,HIGH );

                    digitalWrite(5,HIGH );

                    digitalWrite(2, HIGH);

                    digitalWrite(3,HIGH );


                     delay(5000);

                    digitalWrite(0, LOW);

                    digitalWrite(7,LOW );

                    digitalWrite(5,LOW );


                    digitalWrite(2, LOW);

                    digitalWrite(3,LOW );

                    delay(1000);

                    digitalWrite(0, HIGH);


                    digitalWrite(7,HIGH );

                    digitalWrite(2,HIGH );

                    digitalWrite(4, HIGH);

                    delay(5000);

                    digitalWrite(0,LOW);


                    digitalWrite(7,LOW );

                    digitalWrite(2,LOW );
   20   21   22   23   24   25   26   27   28   29   30