Page 123 - PROYECTO INTEGRADOR_Neat
P. 123

digitalWrite(12,LOW);

                          digitalWrite(11,LOW);

                        digitalWrite(10,LOW);


                     lcd.setCursor(2,0);

                           lcd.print("GRUPO 1");

                  delay(500);

                      lcd.clear();


                    }



                    if(pot > 245  &&  pot <=695 ){

                        digitalWrite(13,HIGH);

                            digitalWrite(12,HIGH);


                        digitalWrite(11,LOW);

                        digitalWrite(10,LOW);

                  lcd.setCursor(2,0);

                           lcd.print("GRUPO 2");


                  delay(500);

                      lcd.clear();

                    }




                     if(pot > 695  &&  pot <=790 ){

                          digitalWrite(13,HIGH);

                            digitalWrite(12,HIGH);

                        digitalWrite(11,HIGH);

                        digitalWrite(10,LOW);


                  lcd.setCursor(2,0);

                           lcd.print("GRUPO 3");
   118   119   120   121   122   123   124   125   126   127   128