Page 120 - PROYECTO INTEGRADOR
P. 120

lcd.clear();

                    }




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

                        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);
   115   116   117   118   119   120   121   122   123   124   125