       switch (ctrlCode) {
         case 0:
           // Request for device info
-          Serial1.println("hm0.0.1");
+         Serial1.println("hm0.0.1");
           break;
         case 1:
           // Received code to move mouse

  pinMode(2,INPUT_PULLUP);
  pinMode(3,INPUT_PULLUP);
  Serial1.setTimeout(10);

  //while (!Serial1) {
    //; // wait for serial port to connect. Needed for Leonardo only

  }
}

void logger(String message) {
  Serial.println(message);
  
  
}

int readLeftPedal() {
  return digitalRead(2);
}
