   HID().SendReport(2, &kr, sizeof(KeyReport));
 
 */
-  
+  delay(100); 
+  digitalWrite(LED_BUILTIN, LOW);  
 }
 
 
 void loop()                                   // loop function is also a part of every Arduino sketch but gets called over again after it returns/finishes unlike "setup" function
 { 
+  LED_control();
+  
   byte i=0; 
   if (App.available() > 0)               // check whether there's any data received by the bluetooth module
   {        

              #ifdef LOG_SERIAL
                Serial.println(inSerial);
              #endif
              
              inSerial[i]='\0'; MyFuncMouseMove(inSerial);i = 0;
            }     //MM:L,U,3,1,end (mouse movement)}
        }

      Serial.write(inSerial);             //it's useful for checking what text arduino receives from android but it makes the mouse movement laggy if the serial monitor is closed
      Serial.write("\n");  
    #endif

    LED_show_activity();                     
    Check_Protocol(inSerial);                           // main checking function, all the functionality gets triggered there depending on what it received from the bluetooth module      
    App.print("OK");                               // it wasn't necessary before, but the ducky script functionality requires the Arduino to say: "OK, I already typed the last line/key you've sent me, so you can send the next one", otherwise there would have to be a bigger delay   
    lastOKsendingTime = millis();
