Page 84 - PROYECTO INTEGRADOR
P. 84

lcd.setCursor(4,0);

                     lcd.print("AZUL ON");

                        delay(1000);


                      }



                    else if(d<150){

                     lcd.clear();


                     digitalWrite(10,HIGH);

                     digitalWrite(11,LOW);

                     digitalWrite(12,LOW);

                     lcd.print("ROJO ON");

                        delay(1000);




                    }



                    else if(d>151){


                    lcd.clear();

                    digitalWrite(10,LOW);

                    digitalWrite(11,LOW);

                    digitalWrite(12,LOW);


                    lcd.setCursor(6,1);

                    lcd.print("APAGADOS");

                        delay(1000);



                    }


                  }
   79   80   81   82   83   84   85   86   87   88   89