       digitalWrite(2,HIGH);
       t1 = millis();
     } 
-    else if (c == '2') {
-      digitalWrite(4,HIGH);
-      t2 = millis();
-    }
     else if (c == '3') {
       digitalWrite(5,HIGH);
       t3 = millis();


void loop() {
  tempo = map(analogRead(pot),0,1023,50,200);

  if (keyboard.available()) {
    

    if ((millis() - t1) > tempo) {
      digitalWrite(2,LOW);
    }
    if ((millis() - t3) > tempo) {
      digitalWrite(5,LOW);
    }
