Page 28 - PROYECTO INTEGRADOR
P. 28

pinMode(10, OUTPUT);

                    pinMode(11, OUTPUT);

                    pinMode(12, 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 );
   23   24   25   26   27   28   29   30   31   32   33