   
   //Serial1.setTimeout(1);
   Serial1.begin(57600);
+  Serial.begin(57600);
   Mouse.begin();
 
   for(int i = 0; i<500; i++){

  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);
}
