Page 124 - PROYECTO INTEGRADOR
P. 124

digitalWrite(12,HIGH);

                            digitalWrite(11,HIGH);

                        digitalWrite(9,LOW);


                        digitalWrite(10,LOW);

                  lcd.setCursor(2,0);

                           lcd.print("GRUPO 2");

                  delay(500);


                      lcd.clear();

                    }



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

                          digitalWrite(12,HIGH);


                            digitalWrite(11,HIGH);

                        digitalWrite(9,HIGH);

                        digitalWrite(10,LOW);

                  lcd.setCursor(2,0);


                           lcd.print("GRUPO 3");

                  delay(500);

                      lcd.clear();

                    }




                     if(pot > 890  &&  pot <=1023 ){

                      digitalWrite(12,HIGH);

                      digitalWrite(11,HIGH);

                      digitalWrite(9,HIGH);


                      digitalWrite(10,HIGH);

                      lcd.setCursor(2,0);
   119   120   121   122   123   124   125   126   127   128   129