int ledred = 13;
int ledyel = 12;
int puls0 = 7;
int puls2 = 6;

void setup() {
  pinMode(ledred,OUTPUT);
  pinMode(ledyel,OUTPUT);
  pinMode(puls0,INPUT);
  pinMode(puls2,INPUT_PULLUP);
}

void loop() {
 int valor = digitalRead(puls0);
 int valor2 = digitalRead(puls2);
  if(valor == 1){
    digitalWrite(ledred,1);
    digitalWrite(ledyel,1);
    }
  if(valor2 == 0){
    digitalWrite(ledred,0);
    digitalWrite(ledyel,0);
    }

}
$abcdeabcde151015202530fghijfghij