   Serial.println();
 }
 
+void debug(char* message) {
+  if (DEBUG)
+    Serial.println(message);
+}
+

  if (Serial1.available())
    read_lin_bus();

  release_keys();
  check_ignition_key();
  rti();
}


LinFrame frame = LinFrame();

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

