     String cmdStr2 = String(cmd2);
 
     if (cmdStr.equals(cmdStr2)) {
-      //mySerial.println(cmd);
-      //Serial.println("cmd: " + cmdStr);
+      // mySerial.println(cmd);
+      // Serial.println("cmd: " + cmdStr);
       String dx = cmdStr.substring(0,5);
       String dy = cmdStr.substring(5,10);
-      //Serial.println("goto " + dx + " " + dy);
+      // Serial.println("goto " + dx + " " + dy);
       int x = dx.toInt();
       int y = dy.toInt();
       AbsoluteMouse.moveTo(x,y);


void setup() {
  mySerial.begin(9600);
  Serial.begin(115200);    // serial / USB port
  while (!Serial);
  AbsoluteMouse.begin();
  attachInterrupt(digitalPinToInterrupt(2), interrupt, RISING); //interrupt pin from Mega
  Serial.println("Ready");
}

void clickMouse(){

        mySerial.readBytesUntil('.', cmd, 11);
        loop();  
      }
      // Serial.println("Packet miss");      
    }
  }
  
