     }
 
     // actually send the packet
-    n = RawHID.send(buffer, 100);
+    n = RawHID.send(buffer, 200);
     if (n > 0) {
       Serial.println(F("Transmit password"));
     } else {
       Serial.println(F("Unable to transmit packet"));
     }
+
+    blink(2);
   }
 }
+
+void blink(int times){
+  int i;
+  for(i = 0; i < times; i++){
+    digitalWrite(ledPin, HIGH);
+    delay(100);
+    digitalWrite(ledPin, LOW);
+    delay(100);
+  }
+}

   You must select Raw HID from the "Tools > USB Type" menu
*/

void setup() {
  Serial.begin(9600);
  Serial.println(F("RawHID Example"));
  for (int i=0; i<7; i++) {
    pinMode(i, OUTPUT);
  }
}

// RawHID packets are always 64 bytes

  int password_char_index = 0;

  Serial.println(F("Waiting for password index ..."));
  blink(1);

  n = RawHID.recv(buffer, waitTimeout);
  if (n > 0) {

    // the computer sent a message.
    Serial.print(F("Received packet, first byte: "));
    Serial.println((int)buffer[0]);
