int pinLed = 13;
int pinLed1 = 12;
int pinLed2 = 11;
int Sensor =2;
const int Boton = 4;
int estadoBoton;
void setup() {
  // put your setup code here, to run once:
pinMode(Sensor, INPUT);
Serial.begin(9600);
pinMode(pinLed, OUTPUT);
pinMode(pinLed1, OUTPUT);
pinMode(pinLed2, OUTPUT);
pinMode(Boton, INPUT_PULLUP);

}

void loop() {
  // put your main code here, to run repeatedly:
  int V = digitalRead(Sensor);
  int estadoBoton = digitalRead(Boton);
  Serial.println(V);
  Serial.println(estadoBoton);
if (V == HIGH){
  digitalWrite(pinLed,HIGH);
  digitalWrite(pinLed1,HIGH);
  digitalWrite(pinLed2,HIGH);
}
else if (estadoBoton== LOW){

  digitalWrite(pinLed,LOW);
  digitalWrite(pinLed1,LOW);
  digitalWrite(pinLed2,LOW);
}
  





}
$abcdeabcde151015202530354045505560fghijfghij