     Serial.write('R');
   }
 
+  laserHit = true;
   turnOffReceiver(index);
   printRawbufLast(rawbuf_last);
   printHit(index);


int interval() {
  // generate random intervel between 500ms to 2500ms
    return rand() % 2000 + 500;
}


void updateReceiverState() {
  for (int i = 0; i < BASE_COUNT; i++) {

#define BLUE_LASER 0
#define RED_LASER 1
#define DEBUG_MODE false
#define MIN_DELAY 500
#define DELAY_CEIL 2500


// Define all the devices as global variables
IRrecv *irrecvs[BASE_COUNT];
int ledPins[] = {2,7,4};
int receiverPins[] = {13,8,12};

// Define all time related variables
unsigned long startMillis;
