Page 143 - PROYECTO INTEGRADOR
P. 143

}



                    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);

                      digitalWrite(11,HIGH);
   138   139   140   141   142   143   144   145   146   147   148