Page 60 - PROYECTO INTEGRADOR_Neat
P. 60

if ( dato == HIGH )

                    {


                      digitalWrite(5, LOW);



                          delay(t);




                    }

                    else

                    {



                      digitalWrite(5, HIGH);






                    }




                    //b



                      dato = digitalRead(2);




                    if ( dato == HIGH )

                    {

                      digitalWrite(5, LOW);



                          delay(t);




                    }
   55   56   57   58   59   60   61   62   63   64   65