 
   // open the USB serial port for reporting
   Serial.begin(BAUD);
-  
+#if DEBUG > 0 
   Serial.println(F("Target Module"));
   Serial.println(F("============="));
-  
+#endif  
   // 1ms timer interrupt to check for hits
   Timer1.initialize(1000); 
   
   pinMode(53, OUTPUT);
   if (!SD.begin(SPI_CS)) {
+#if DEBUG > 0 
     Serial.println("SD card failed, or not present");
+#endif
     // don't do anything more:
     return;
   }
+#if DEBUG > 0 
   Serial.println("SD card initialized.");
+#endif
   
   Wire.begin();
   RTC.begin();
   if (! RTC.isrunning()) {
+#if DEBUG > 0 
     Serial.println("RTC is NOT running!");
+#endif
     // following line sets the RTC to the date & time this sketch was compiled
     RTC.adjust(DateTime(__DATE__, __TIME__));
   }

    if (character == 'S' || character == 's') {
      makeFileName();
      datafile = SD.open(filepath, FILE_WRITE);
      Serial.println(datafile);
      file_open = true;
      datafile.println(player_rfid);
      //reset all the pointers and score variables


RTC_DS1307 RTC;
File datafile;

#define DEBUG 0

#define BAUD 9600
#define RESEND_TIMER 250
