   pinMode(CS_PIN, OUTPUT);
   digitalWrite(CS_PIN, HIGH);
 
-//  Serial.begin(9600);
+  if (DEBUG) 
+    Serial.begin(9600);
+
   Serial1.begin(9600);
   rtiSerial.begin(2400);
 


LinFrame frame = LinFrame();

unsigned long currentMillis, lastHeartbeat, lastBackDown, lastEnterDown, lastMouseDown, lastRtiWrite;
int mouseSpeed = MOUSE_BASE_SPEED;
short state = STATE_OFF;



  pinMode(MOBILE_CHARGER_PIN, OUTPUT);
  analogWrite(MOBILE_CHARGER_PIN, 0);

  //turn_on();
}

void loop() {
