   SCOREBD.begin(BAUD); // Scoreboard module
   TIMER.begin(BAUD); // Timer module
   
-  rfid.seekTag();
+  pinMode(LED, OUTPUT);
+  pinMode(BUTTON, INPUT);
+  pinMode(RESET, INPUT);
+  pinMode(RFID, INPUT_PULLUP);
 }
 
 void loop() {

void getScore() {
  TARGET.println(F("D"));
  delay(UPDATE_DELAY); // need to wait for a reply
  if (TARGET.available()) {
    score = TARGET.parseInt();
  }
  SCOREBD.print(F("D"));
  SCOREBD.println(score);
}

void start() {
  //do the start
  //make a countdown on the scoreboard
  SCOREBD.println(F("D5"));

#include <Wire.h>
#include <SL018.h>

#define DEBUG 0

#define BAUD 9600
#define RESEND_TIMER 50
#define RUN_TIMER 30250
#define UPDATE_DELAY 10
#define RFID_DIGITS 15
#define BUTTON 2
#define RESET 3
#define LED 13
#define RFID 4
#define TARGET Serial1
#define SCOREBD Serial2
#define TIMER Serial3

//states
#define RFID_READY 1
#define WAIT_FOR_START 2
#define START_THE_GAME 3
#define RUNNING 4
#define CLEAN_UP 5

SL018 rfid;

char player_rfid[RFID_DIGITS];
unsigned long score = 0UL;
int state = RFID_READY;
unsigned long start_time = 0UL;
unsigned long last_update = 0UL;
