Page 139 - PROYECTO INTEGRADOR_Neat
P. 139

digitalWrite(9,LOW);

                        digitalWrite(10,LOW);

                     lcd.setCursor(2,0);


                           lcd.print("GRUPO 1");

                  delay(500);

                      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);
   134   135   136   137   138   139   140   141   142   143   144