Page 39 - PROYECTO INTEGRADOR
P. 39

pinMode(b, OUTPUT);

                      pinMode(c, OUTPUT);

                         pinMode(d, OUTPUT);


                         pinMode(e, OUTPUT);

                         pinMode(f, OUTPUT);

                         pinMode(g, OUTPUT);






                  }



                  void loop()

                  {


                    //A

                    digitalWrite(a, HIGH);

                    digitalWrite(b, HIGH);

                    digitalWrite(c, HIGH);


                    digitalWrite(d, LOW);

                    digitalWrite(e, HIGH);

                    digitalWrite(f, HIGH);

                    digitalWrite(g, HIGH);




                    delay(tiempo);

                      //B

                    digitalWrite(a, HIGH);

                    digitalWrite(b, HIGH);


                    digitalWrite(c, HIGH);

                    digitalWrite(d, HIGH);
   34   35   36   37   38   39   40   41   42   43   44